mirror of
https://github.com/moparisthebest/k-9
synced 2024-12-02 14:02:17 -05:00
Clean up lint items
Eliminate unused variables/fields/imports
This commit is contained in:
parent
523180020c
commit
00a60a0f4f
@ -53,7 +53,6 @@ import com.fsck.k9.search.SearchSpecification.SearchCondition;
|
|||||||
import com.fsck.k9.view.MessageHeader;
|
import com.fsck.k9.view.MessageHeader;
|
||||||
import com.fsck.k9.view.MessageOpenPgpView;
|
import com.fsck.k9.view.MessageOpenPgpView;
|
||||||
import com.fsck.k9.view.MessageTitleView;
|
import com.fsck.k9.view.MessageTitleView;
|
||||||
import com.fsck.k9.view.SingleMessageView;
|
|
||||||
import com.fsck.k9.view.ViewSwitcher;
|
import com.fsck.k9.view.ViewSwitcher;
|
||||||
import com.fsck.k9.view.ViewSwitcher.OnSwitchCompleteListener;
|
import com.fsck.k9.view.ViewSwitcher.OnSwitchCompleteListener;
|
||||||
|
|
||||||
|
@ -24,8 +24,6 @@ import android.graphics.Color;
|
|||||||
import android.graphics.Rect;
|
import android.graphics.Rect;
|
||||||
import android.graphics.Typeface;
|
import android.graphics.Typeface;
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.net.ConnectivityManager;
|
|
||||||
import android.net.NetworkInfo;
|
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
|
@ -7,7 +7,6 @@ import android.database.Cursor;
|
|||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
import android.provider.ContactsContract;
|
import android.provider.ContactsContract;
|
||||||
import android.provider.ContactsContract.DataUsageFeedback;
|
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import com.fsck.k9.K9;
|
import com.fsck.k9.K9;
|
||||||
|
@ -24,7 +24,6 @@ import java.net.UnknownHostException;
|
|||||||
import java.security.cert.X509Certificate;
|
import java.security.cert.X509Certificate;
|
||||||
import java.security.cert.CertificateParsingException;
|
import java.security.cert.CertificateParsingException;
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Iterator;
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Locale;
|
import java.util.Locale;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
@ -9,8 +9,6 @@ import javax.net.ssl.SSLSocket;
|
|||||||
import javax.net.ssl.SSLSocketFactory;
|
import javax.net.ssl.SSLSocketFactory;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.net.Socket;
|
import java.net.Socket;
|
||||||
import java.security.KeyManagementException;
|
|
||||||
import java.security.NoSuchAlgorithmException;
|
|
||||||
import java.security.SecureRandom;
|
import java.security.SecureRandom;
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
@ -57,7 +57,6 @@ public class MessageOpenPgpView extends LinearLayout {
|
|||||||
private OpenPgpApi mOpenPgpApi;
|
private OpenPgpApi mOpenPgpApi;
|
||||||
|
|
||||||
private String mOpenPgpProvider;
|
private String mOpenPgpProvider;
|
||||||
private String mDecryptedData;
|
|
||||||
private Message mMessage;
|
private Message mMessage;
|
||||||
|
|
||||||
private PendingIntent mMissingKeyPI;
|
private PendingIntent mMissingKeyPI;
|
||||||
@ -103,7 +102,6 @@ public class MessageOpenPgpView extends LinearLayout {
|
|||||||
// set class variables
|
// set class variables
|
||||||
mAccount = account;
|
mAccount = account;
|
||||||
mOpenPgpProvider = mAccount.getOpenPgpProvider();
|
mOpenPgpProvider = mAccount.getOpenPgpProvider();
|
||||||
mDecryptedData = decryptedData;
|
|
||||||
mMessage = message;
|
mMessage = message;
|
||||||
|
|
||||||
// only use this view if a OpenPGP Provider is set
|
// only use this view if a OpenPGP Provider is set
|
||||||
|
Loading…
Reference in New Issue
Block a user