From b3b8302c52c428847a1b6c388b6f7e26875da277 Mon Sep 17 00:00:00 2001 From: Jesse Vincent Date: Sun, 27 Mar 2011 12:40:00 +0800 Subject: [PATCH] Remove some vestiges of HashSet --- src/com/fsck/k9/activity/ExportHelper.java | 1 - src/com/fsck/k9/preferences/StorageExporter.java | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/com/fsck/k9/activity/ExportHelper.java b/src/com/fsck/k9/activity/ExportHelper.java index 6ab57932b..350419505 100644 --- a/src/com/fsck/k9/activity/ExportHelper.java +++ b/src/com/fsck/k9/activity/ExportHelper.java @@ -1,6 +1,5 @@ package com.fsck.k9.activity; -import java.util.HashSet; import java.util.Set; import android.app.Activity; diff --git a/src/com/fsck/k9/preferences/StorageExporter.java b/src/com/fsck/k9/preferences/StorageExporter.java index 890d2b2b4..0419cc862 100644 --- a/src/com/fsck/k9/preferences/StorageExporter.java +++ b/src/com/fsck/k9/preferences/StorageExporter.java @@ -3,7 +3,6 @@ package com.fsck.k9.preferences; import java.io.File; import java.io.FileOutputStream; import java.io.OutputStream; -import java.util.HashSet; import java.util.Set; import android.app.Activity; @@ -40,7 +39,7 @@ public class StorageExporter { exportPreferences(activity, storageFormat, includeGlobals, accountUuids, fileName, null, encryptionKey, listener); } - public static void exportPrefererences(Activity activity, String storageFormat, boolean includeGlobals, HashSet accountUuids, OutputStream os, String encryptionKey, final ExportListener listener) throws StorageImportExportException { + public static void exportPrefererences(Activity activity, String storageFormat, boolean includeGlobals, Set accountUuids, OutputStream os, String encryptionKey, final ExportListener listener) throws StorageImportExportException { exportPreferences(activity, storageFormat, includeGlobals, accountUuids, null, os, encryptionKey, listener); }