1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-17 23:15:10 -05:00

Merge pull request #64 from andrewgaul/typesafe-set

Avoid type-unsafe Set
This commit is contained in:
Jesse Vincent 2011-10-20 05:34:48 -07:00
commit ae3f098b4a

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");