Remove unused imports
This commit is contained in:
parent
bfc2dcba35
commit
a6388ca84f
55 changed files with 0 additions and 83 deletions
|
@ -1,14 +1,6 @@
|
|||
|
||||
package com.fsck.k9.mail;
|
||||
|
||||
import com.fsck.k9.mail.ServerSettings.Type;
|
||||
import com.fsck.k9.mail.transport.smtp.SmtpTransport;
|
||||
import com.fsck.k9.mail.transport.WebDavTransport;
|
||||
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLDecoder;
|
||||
import java.net.URLEncoder;
|
||||
|
||||
public abstract class Transport {
|
||||
|
||||
protected static final int SOCKET_CONNECT_TIMEOUT = 10000;
|
||||
|
|
|
@ -6,7 +6,6 @@ import java.nio.charset.Charset;
|
|||
import java.util.BitSet;
|
||||
|
||||
import org.apache.james.mime4j.Charsets;
|
||||
import org.apache.james.mime4j.util.CharsetUtil;
|
||||
|
||||
/**
|
||||
* Static methods for encoding header field values. This includes encoded-words
|
||||
|
|
|
@ -4,7 +4,6 @@ package com.fsck.k9.mail.transport;
|
|||
import com.fsck.k9.mail.K9MailLib;
|
||||
import com.fsck.k9.mail.Message;
|
||||
import com.fsck.k9.mail.MessagingException;
|
||||
import com.fsck.k9.mail.ServerSettings;
|
||||
import com.fsck.k9.mail.Transport;
|
||||
import com.fsck.k9.mail.store.StoreConfig;
|
||||
import com.fsck.k9.mail.store.webdav.WebDavHttpClient;
|
||||
|
|
|
@ -23,7 +23,6 @@ import com.fsck.k9.mail.Multipart;
|
|||
import org.junit.runner.RunWith;
|
||||
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
|
||||
@RunWith(K9LibRobolectricTestRunner.class)
|
||||
|
|
|
@ -2,7 +2,6 @@ package com.fsck.k9;
|
|||
|
||||
|
||||
import android.content.Context;
|
||||
import android.support.annotation.VisibleForTesting;
|
||||
|
||||
|
||||
public class Globals {
|
||||
|
|
|
@ -8,8 +8,6 @@ import timber.log.Timber;
|
|||
import android.widget.ArrayAdapter;
|
||||
import android.widget.Filter;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
/**
|
||||
* Filter to search for occurrences of the search-expression in any place of the
|
||||
* folder-name instead of doing just a prefix-search.
|
||||
|
|
|
@ -6,8 +6,6 @@ import java.util.List;
|
|||
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
|
||||
public class MessageReferenceHelper {
|
||||
public static List<MessageReference> toMessageReferenceList(List<String> messageReferenceStrings) {
|
||||
|
|
|
@ -9,7 +9,6 @@ import android.content.AsyncTaskLoader;
|
|||
import android.content.Context;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.activity.misc.Attachment;
|
||||
|
||||
import com.fsck.k9.activity.misc.Attachment.LoadingState;
|
||||
|
|
|
@ -10,7 +10,6 @@ import android.net.Uri;
|
|||
import android.provider.OpenableColumns;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.activity.misc.Attachment;
|
||||
import com.fsck.k9.activity.misc.Attachment.LoadingState;
|
||||
import com.fsck.k9.mail.internet.MimeUtility;
|
||||
|
|
|
@ -9,7 +9,6 @@ import android.view.View;
|
|||
import android.view.View.OnClickListener;
|
||||
import android.widget.Toast;
|
||||
import com.fsck.k9.Account;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.Preferences;
|
||||
import com.fsck.k9.R;
|
||||
import com.fsck.k9.activity.K9Activity;
|
||||
|
|
|
@ -36,7 +36,6 @@ import com.fsck.k9.mail.AuthType;
|
|||
import com.fsck.k9.mail.ConnectionSecurity;
|
||||
import com.fsck.k9.mail.ServerSettings;
|
||||
import com.fsck.k9.mail.ServerSettings.Type;
|
||||
import com.fsck.k9.mail.Transport;
|
||||
import com.fsck.k9.mail.TransportUris;
|
||||
import com.fsck.k9.view.ClientCertificateSpinner;
|
||||
import com.fsck.k9.view.ClientCertificateSpinner.OnClientCertificateChangedListener;
|
||||
|
|
|
@ -30,7 +30,6 @@ import android.os.Bundle;
|
|||
import android.os.Parcelable;
|
||||
import android.preference.DialogPreference;
|
||||
import android.support.annotation.ArrayRes;
|
||||
import android.support.annotation.StringRes;
|
||||
import android.util.AttributeSet;
|
||||
import android.view.View;
|
||||
import android.widget.SeekBar;
|
||||
|
|
|
@ -7,7 +7,6 @@ import java.io.IOException;
|
|||
import android.content.Context;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.helper.FileHelper;
|
||||
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ import android.content.DialogInterface.OnClickListener;
|
|||
import android.os.Bundle;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
public class ConfirmationDialogFragment extends DialogFragment implements OnClickListener,
|
||||
OnCancelListener {
|
||||
private ConfirmationDialogFragmentListener mListener;
|
||||
|
|
|
@ -9,7 +9,6 @@ import java.util.Locale;
|
|||
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import org.apache.commons.io.IOUtils;
|
||||
|
||||
|
||||
|
|
|
@ -16,13 +16,11 @@ import timber.log.Timber;
|
|||
import android.widget.EditText;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.ui.ContactBadge;
|
||||
import com.fsck.k9.mail.Address;
|
||||
|
||||
import org.apache.james.mime4j.util.MimeUtil;
|
||||
|
||||
import java.nio.charset.Charset;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.regex.Matcher;
|
||||
|
|
|
@ -12,7 +12,6 @@ import android.support.annotation.VisibleForTesting;
|
|||
import android.support.annotation.WorkerThread;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.mail.Body;
|
||||
import com.fsck.k9.mail.MessagingException;
|
||||
import com.fsck.k9.mail.Multipart;
|
||||
|
|
|
@ -14,7 +14,6 @@ import android.support.annotation.Nullable;
|
|||
import android.support.annotation.VisibleForTesting;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.mail.MessagingException;
|
||||
import com.fsck.k9.mail.internet.RawDataBody;
|
||||
import com.fsck.k9.mail.internet.SizeAware;
|
||||
|
|
|
@ -21,7 +21,6 @@ import com.fsck.k9.mail.Message;
|
|||
import com.fsck.k9.mail.MessagingException;
|
||||
import com.fsck.k9.mail.Part;
|
||||
import com.fsck.k9.mail.internet.MessageExtractor;
|
||||
import com.fsck.k9.mail.internet.MimeUtility;
|
||||
import com.fsck.k9.mail.internet.Viewable;
|
||||
import com.fsck.k9.mail.internet.Viewable.Flowed;
|
||||
import com.fsck.k9.mailstore.CryptoResultAnnotation.CryptoError;
|
||||
|
|
|
@ -2,7 +2,6 @@ package com.fsck.k9.mailstore;
|
|||
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
import android.content.Context;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
|
@ -10,7 +9,6 @@ import timber.log.Timber;
|
|||
|
||||
import com.fsck.k9.Account;
|
||||
import com.fsck.k9.BuildConfig;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.mail.Flag;
|
||||
import com.fsck.k9.mail.Folder;
|
||||
import com.fsck.k9.mailstore.migrations.Migrations;
|
||||
|
@ -18,8 +16,6 @@ import com.fsck.k9.mailstore.migrations.MigrationsHelper;
|
|||
import com.fsck.k9.preferences.Storage;
|
||||
|
||||
import static com.fsck.k9.mailstore.LocalStore.DB_VERSION;
|
||||
import static java.lang.String.format;
|
||||
import static java.util.Locale.US;
|
||||
|
||||
|
||||
class StoreSchemaDefinition implements LockableDatabase.SchemaDefinition {
|
||||
|
|
|
@ -6,7 +6,6 @@ import java.io.FileInputStream;
|
|||
import java.io.FileNotFoundException;
|
||||
import java.io.InputStream;
|
||||
|
||||
import com.fsck.k9.mail.MessagingException;
|
||||
import com.fsck.k9.mail.internet.SizeAware;
|
||||
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@ import android.database.sqlite.SQLiteDatabase;
|
|||
import android.database.sqlite.SQLiteException;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
|
||||
class MigrationTo35 {
|
||||
public static void updateRemoveXNoSeenInfoFlag(SQLiteDatabase db) {
|
||||
|
|
|
@ -5,8 +5,6 @@ import android.database.sqlite.SQLiteDatabase;
|
|||
import android.database.sqlite.SQLiteException;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
|
||||
class MigrationTo36 {
|
||||
public static void addAttachmentsContentIdColumn(SQLiteDatabase db) {
|
||||
|
|
|
@ -5,8 +5,6 @@ import android.database.sqlite.SQLiteDatabase;
|
|||
import android.database.sqlite.SQLiteException;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
|
||||
class MigrationTo37 {
|
||||
public static void addAttachmentsContentDispositionColumn(SQLiteDatabase db) {
|
||||
|
|
|
@ -5,8 +5,6 @@ import android.database.sqlite.SQLiteDatabase;
|
|||
import android.database.sqlite.SQLiteException;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
|
||||
class MigrationTo39 {
|
||||
public static void headersPruneOrphans(SQLiteDatabase db) {
|
||||
|
|
|
@ -5,8 +5,6 @@ import android.database.sqlite.SQLiteDatabase;
|
|||
import android.database.sqlite.SQLiteException;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
|
||||
class MigrationTo40 {
|
||||
public static void addMimeTypeColumn(SQLiteDatabase db) {
|
||||
|
|
|
@ -7,7 +7,6 @@ import android.database.sqlite.SQLiteException;
|
|||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.Account;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.helper.Utility;
|
||||
import com.fsck.k9.mail.Folder;
|
||||
import com.fsck.k9.preferences.Storage;
|
||||
|
|
|
@ -5,14 +5,11 @@ import java.util.List;
|
|||
|
||||
import android.content.ContentValues;
|
||||
import android.content.Context;
|
||||
import android.content.SharedPreferences;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.Account;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.R;
|
||||
import com.fsck.k9.mail.Folder;
|
||||
import com.fsck.k9.mail.Message;
|
||||
import com.fsck.k9.mailstore.LocalFolder;
|
||||
import com.fsck.k9.mailstore.LocalStore;
|
||||
|
|
|
@ -7,7 +7,6 @@ import timber.log.Timber;
|
|||
|
||||
import com.fsck.k9.Account.QuoteStyle;
|
||||
import com.fsck.k9.Identity;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.activity.MessageReference;
|
||||
import com.fsck.k9.mail.internet.TextBody;
|
||||
import com.fsck.k9.message.quote.InsertableHtmlContent;
|
||||
|
|
|
@ -8,7 +8,6 @@ import java.util.StringTokenizer;
|
|||
import android.net.Uri;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.mail.filter.Base64;
|
||||
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ package com.fsck.k9.message.extractors;
|
|||
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.mail.Part;
|
||||
import com.fsck.k9.mail.internet.MessageExtractor;
|
||||
import com.fsck.k9.mail.internet.MimeUtility;
|
||||
|
|
|
@ -2,12 +2,9 @@ package com.fsck.k9.message.html;
|
|||
|
||||
|
||||
import java.util.Collections;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.Locale;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import android.text.Annotation;
|
||||
|
|
|
@ -8,7 +8,6 @@ import android.content.res.Resources;
|
|||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.Account.QuoteStyle;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.R;
|
||||
import com.fsck.k9.mail.Address;
|
||||
import com.fsck.k9.mail.Message;
|
||||
|
|
|
@ -28,7 +28,6 @@ import com.fsck.k9.Account;
|
|||
import com.fsck.k9.Preferences;
|
||||
import com.fsck.k9.helper.FileHelper;
|
||||
import com.fsck.k9.mail.ServerSettings;
|
||||
import com.fsck.k9.mail.Transport;
|
||||
import com.fsck.k9.mail.store.RemoteStore;
|
||||
import com.fsck.k9.preferences.Settings.InvalidSettingValueException;
|
||||
import com.fsck.k9.preferences.Settings.SettingsDescription;
|
||||
|
|
|
@ -26,7 +26,6 @@ import com.fsck.k9.Preferences;
|
|||
import com.fsck.k9.mail.AuthType;
|
||||
import com.fsck.k9.mail.ConnectionSecurity;
|
||||
import com.fsck.k9.mail.ServerSettings;
|
||||
import com.fsck.k9.mail.Transport;
|
||||
import com.fsck.k9.mail.filter.Base64;
|
||||
import com.fsck.k9.mail.store.RemoteStore;
|
||||
import com.fsck.k9.preferences.Settings.InvalidSettingValueException;
|
||||
|
|
|
@ -17,14 +17,12 @@ import timber.log.Timber;
|
|||
|
||||
import com.fsck.k9.Account;
|
||||
import com.fsck.k9.BuildConfig;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.Preferences;
|
||||
import com.fsck.k9.mail.MessagingException;
|
||||
import com.fsck.k9.mail.internet.MimeUtility;
|
||||
import com.fsck.k9.mailstore.LocalStore;
|
||||
import com.fsck.k9.mailstore.LocalStore.AttachmentInfo;
|
||||
import org.openintents.openpgp.util.OpenPgpApi.OpenPgpDataSource;
|
||||
import org.openintents.openpgp.util.ParcelFileDescriptorUtil;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -5,7 +5,6 @@ import java.io.File;
|
|||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Date;
|
||||
import java.util.Locale;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
|
|
|
@ -5,7 +5,6 @@ import java.io.File;
|
|||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.util.Date;
|
||||
import java.util.Locale;
|
||||
|
||||
import android.content.BroadcastReceiver;
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
|
||||
package com.fsck.k9.service;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import android.app.AlarmManager;
|
||||
import android.app.PendingIntent;
|
||||
import android.content.Context;
|
||||
|
|
|
@ -4,7 +4,6 @@ import android.content.Context;
|
|||
import android.content.Intent;
|
||||
import android.os.IBinder;
|
||||
import timber.log.Timber;
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
public class PushService extends CoreService {
|
||||
private static String START_SERVICE = "com.fsck.k9.service.PushService.startService";
|
||||
|
|
|
@ -7,7 +7,6 @@ import android.os.Bundle;
|
|||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.Account;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.remotecontrol.K9RemoteControl;
|
||||
import com.fsck.k9.Preferences;
|
||||
|
||||
|
|
|
@ -5,8 +5,6 @@ import android.content.Context;
|
|||
import android.content.Intent;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
|
||||
/**
|
||||
* Capture the system shutdown event in order to properly free resources.
|
||||
*
|
||||
|
|
|
@ -6,7 +6,6 @@ import android.content.Intent;
|
|||
import android.net.Uri;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.mailstore.StorageManager;
|
||||
|
||||
/**
|
||||
|
|
|
@ -6,7 +6,6 @@ import android.content.Intent;
|
|||
import android.net.Uri;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.mailstore.StorageManager;
|
||||
|
||||
/**
|
||||
|
|
|
@ -10,7 +10,6 @@ import timber.log.Timber;
|
|||
import com.fsck.k9.Account;
|
||||
import com.fsck.k9.Account.MessageFormat;
|
||||
import com.fsck.k9.Account.QuoteStyle;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.activity.MessageCompose;
|
||||
import com.fsck.k9.activity.MessageCompose.Action;
|
||||
import com.fsck.k9.message.extractors.BodyTextExtractor;
|
||||
|
|
|
@ -3,8 +3,6 @@ package com.fsck.k9.ui.crypto;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
import android.support.annotation.VisibleForTesting;
|
||||
|
||||
import com.fsck.k9.mail.Part;
|
||||
import com.fsck.k9.mailstore.CryptoResultAnnotation;
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ import android.support.annotation.Nullable;
|
|||
import android.support.annotation.WorkerThread;
|
||||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.mail.Message;
|
||||
import com.fsck.k9.mailstore.LocalMessage;
|
||||
import com.fsck.k9.mailstore.MessageViewInfoExtractor;
|
||||
|
|
|
@ -6,7 +6,6 @@ import android.content.Context;
|
|||
import timber.log.Timber;
|
||||
|
||||
import com.fsck.k9.Account;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.activity.MessageReference;
|
||||
import com.fsck.k9.controller.MessagingController;
|
||||
import com.fsck.k9.mail.MessagingException;
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
|
||||
package com.fsck.k9.view;
|
||||
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.R;
|
||||
|
||||
import android.app.Activity;
|
||||
|
|
|
@ -24,7 +24,6 @@ import timber.log.Timber;
|
|||
import android.webkit.WebView;
|
||||
|
||||
import com.fsck.k9.Clock;
|
||||
import com.fsck.k9.K9;
|
||||
import com.fsck.k9.Throttle;
|
||||
import com.fsck.k9.helper.Utility;
|
||||
|
||||
|
|
|
@ -5,7 +5,6 @@ import android.content.Context;
|
|||
import android.content.res.Resources.Theme;
|
||||
import android.support.annotation.AttrRes;
|
||||
import android.support.annotation.ColorInt;
|
||||
import android.support.annotation.ColorRes;
|
||||
import android.support.annotation.UiThread;
|
||||
import android.util.TypedValue;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ package com.fsck.k9.account;
|
|||
|
||||
import com.fsck.k9.Account.DeletePolicy;
|
||||
import com.fsck.k9.mail.ConnectionSecurity;
|
||||
import com.fsck.k9.mail.ServerSettings;
|
||||
import com.fsck.k9.mail.ServerSettings.Type;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ package com.fsck.k9.autocrypt;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.junit.Before;
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
|
|
@ -14,14 +14,12 @@ import org.junit.Before;
|
|||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.robolectric.RuntimeEnvironment;
|
||||
import org.robolectric.annotation.Config;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.InputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
@RunWith(K9RobolectricTestRunner.class)
|
||||
|
|
|
@ -3,7 +3,6 @@ package com.fsck.k9.mailstore;
|
|||
|
||||
import com.fsck.k9.mail.Part;
|
||||
import com.fsck.k9.mail.internet.MimeBodyPart;
|
||||
import com.fsck.k9.mail.internet.MimeMessage;
|
||||
import com.fsck.k9.mail.internet.MimeMultipart;
|
||||
import org.junit.Test;
|
||||
|
||||
|
|
Loading…
Reference in a new issue