From 6957e869ab1afc849477846b9b3ddc4f6d984e2d Mon Sep 17 00:00:00 2001 From: RichyHBM Date: Mon, 13 Nov 2017 20:30:43 +0000 Subject: [PATCH] Clear up imports --- .../java/org/shadowice/flocke/andotp/ApplicationTest.java | 1 - .../shadowice/flocke/andotp/Activities/MainActivity.java | 8 +++----- .../flocke/andotp/Utilities/TagDialogHelper.java | 8 -------- .../org/shadowice/flocke/andotp/View/TagsAdapter.java | 8 +------- 4 files changed, 4 insertions(+), 21 deletions(-) diff --git a/app/src/androidTest/java/org/shadowice/flocke/andotp/ApplicationTest.java b/app/src/androidTest/java/org/shadowice/flocke/andotp/ApplicationTest.java index d2fe901c..a63777ab 100644 --- a/app/src/androidTest/java/org/shadowice/flocke/andotp/ApplicationTest.java +++ b/app/src/androidTest/java/org/shadowice/flocke/andotp/ApplicationTest.java @@ -48,7 +48,6 @@ import java.security.NoSuchAlgorithmException; import java.security.cert.CertificateException; import java.util.ArrayList; import java.util.Arrays; -import java.util.List; import javax.crypto.BadPaddingException; import javax.crypto.IllegalBlockSizeException; diff --git a/app/src/main/java/org/shadowice/flocke/andotp/Activities/MainActivity.java b/app/src/main/java/org/shadowice/flocke/andotp/Activities/MainActivity.java index 3888ea61..2866fdb9 100644 --- a/app/src/main/java/org/shadowice/flocke/andotp/Activities/MainActivity.java +++ b/app/src/main/java/org/shadowice/flocke/andotp/Activities/MainActivity.java @@ -60,20 +60,18 @@ import android.widget.Toast; import com.google.zxing.integration.android.IntentIntegrator; import com.google.zxing.integration.android.IntentResult; +import org.shadowice.flocke.andotp.Database.Entry; +import org.shadowice.flocke.andotp.R; import org.shadowice.flocke.andotp.Utilities.DatabaseHelper; import org.shadowice.flocke.andotp.Utilities.Settings; import org.shadowice.flocke.andotp.Utilities.TagDialogHelper; +import org.shadowice.flocke.andotp.Utilities.TokenCalculator; import org.shadowice.flocke.andotp.View.EntriesCardAdapter; -import org.shadowice.flocke.andotp.Database.Entry; import org.shadowice.flocke.andotp.View.FloatingActionMenu; import org.shadowice.flocke.andotp.View.ItemTouchHelper.SimpleItemTouchHelperCallback; -import org.shadowice.flocke.andotp.R; -import org.shadowice.flocke.andotp.Utilities.TokenCalculator; import org.shadowice.flocke.andotp.View.TagsAdapter; import java.util.ArrayList; -import java.util.Collection; -import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Locale; diff --git a/app/src/main/java/org/shadowice/flocke/andotp/Utilities/TagDialogHelper.java b/app/src/main/java/org/shadowice/flocke/andotp/Utilities/TagDialogHelper.java index 03cb7b14..274633be 100644 --- a/app/src/main/java/org/shadowice/flocke/andotp/Utilities/TagDialogHelper.java +++ b/app/src/main/java/org/shadowice/flocke/andotp/Utilities/TagDialogHelper.java @@ -3,24 +3,16 @@ package org.shadowice.flocke.andotp.Utilities; import android.app.AlertDialog; import android.content.Context; import android.content.DialogInterface; -import android.util.AttributeSet; import android.view.View; -import android.view.ViewGroup; -import android.widget.AbsListView; import android.widget.AdapterView; -import android.widget.Button; import android.widget.CheckedTextView; import android.widget.EditText; import android.widget.ListView; -import org.shadowice.flocke.andotp.Database.Entry; import org.shadowice.flocke.andotp.R; -import org.shadowice.flocke.andotp.View.EntriesCardAdapter; import org.shadowice.flocke.andotp.View.TagsAdapter; -import java.util.Collections; import java.util.HashMap; -import java.util.List; import java.util.concurrent.Callable; public class TagDialogHelper { diff --git a/app/src/main/java/org/shadowice/flocke/andotp/View/TagsAdapter.java b/app/src/main/java/org/shadowice/flocke/andotp/View/TagsAdapter.java index 63e6d29e..76960d11 100644 --- a/app/src/main/java/org/shadowice/flocke/andotp/View/TagsAdapter.java +++ b/app/src/main/java/org/shadowice/flocke/andotp/View/TagsAdapter.java @@ -2,22 +2,16 @@ package org.shadowice.flocke.andotp.View; import android.content.Context; import android.support.annotation.NonNull; -import android.support.v4.util.Pair; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; -import android.widget.ArrayAdapter ; +import android.widget.ArrayAdapter; import android.widget.CheckedTextView; -import org.shadowice.flocke.andotp.Utilities.Settings; - import java.util.ArrayList; -import java.util.Collection; import java.util.Collections; import java.util.HashMap; -import java.util.Iterator; import java.util.List; -import java.util.ListIterator; public class TagsAdapter extends ArrayAdapter { private Context context;