1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-30 13:12:25 -05:00

Remove some vestiges of HashSet

This commit is contained in:
Jesse Vincent 2011-03-27 12:40:00 +08:00
parent 9deeaf9c11
commit b3b8302c52
2 changed files with 1 additions and 3 deletions

View File

@ -1,6 +1,5 @@
package com.fsck.k9.activity; package com.fsck.k9.activity;
import java.util.HashSet;
import java.util.Set; import java.util.Set;
import android.app.Activity; import android.app.Activity;

View File

@ -3,7 +3,6 @@ package com.fsck.k9.preferences;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
import java.io.OutputStream; import java.io.OutputStream;
import java.util.HashSet;
import java.util.Set; import java.util.Set;
import android.app.Activity; import android.app.Activity;
@ -40,7 +39,7 @@ public class StorageExporter {
exportPreferences(activity, storageFormat, includeGlobals, accountUuids, fileName, null, encryptionKey, listener); exportPreferences(activity, storageFormat, includeGlobals, accountUuids, fileName, null, encryptionKey, listener);
} }
public static void exportPrefererences(Activity activity, String storageFormat, boolean includeGlobals, HashSet<String> accountUuids, OutputStream os, String encryptionKey, final ExportListener listener) throws StorageImportExportException { public static void exportPrefererences(Activity activity, String storageFormat, boolean includeGlobals, Set<String> accountUuids, OutputStream os, String encryptionKey, final ExportListener listener) throws StorageImportExportException {
exportPreferences(activity, storageFormat, includeGlobals, accountUuids, null, os, encryptionKey, listener); exportPreferences(activity, storageFormat, includeGlobals, accountUuids, null, os, encryptionKey, listener);
} }