1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-13 21:15:08 -05:00

Avoid type-unsafe Set

This commit is contained in:
Andrew Gaul 2011-10-19 23:05:34 -07:00
parent 451ffc97c4
commit 5b9f542bd7

View File

@ -81,7 +81,7 @@ public class LocalStore extends Store implements Serializable {
private static final Set<String> HEADERS_TO_SAVE; private static final Set<String> HEADERS_TO_SAVE;
static { static {
Set<String> set = new HashSet(); Set<String> set = new HashSet<String>();
set.add(K9.IDENTITY_HEADER); set.add(K9.IDENTITY_HEADER);
set.add("To"); set.add("To");
set.add("Cc"); set.add("Cc");