From 9e4a798c1b48ec64e65e5758d2b13664fbc51610 Mon Sep 17 00:00:00 2001 From: serso Date: Wed, 27 Apr 2016 21:40:36 +0200 Subject: [PATCH] Remove unused fields --- .../android/calculator/BaseActivity.java | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/app/src/main/java/org/solovyev/android/calculator/BaseActivity.java b/app/src/main/java/org/solovyev/android/calculator/BaseActivity.java index f027a9df..b17fc27d 100644 --- a/app/src/main/java/org/solovyev/android/calculator/BaseActivity.java +++ b/app/src/main/java/org/solovyev/android/calculator/BaseActivity.java @@ -12,16 +12,12 @@ import android.support.design.widget.FloatingActionButton; import android.support.v7.app.ActionBar; import android.support.v7.app.AppCompatActivity; import android.support.v7.widget.Toolbar; -import android.view.KeyEvent; -import android.view.MenuItem; -import android.view.View; -import android.view.ViewGroup; -import android.view.Window; +import android.view.*; import android.widget.TextView; - +import butterknife.Bind; +import butterknife.ButterKnife; import org.solovyev.android.Check; import org.solovyev.android.calculator.ga.Ga; -import org.solovyev.android.calculator.history.History; import org.solovyev.android.calculator.language.Language; import org.solovyev.android.calculator.language.Languages; import org.solovyev.android.calculator.view.Tabs; @@ -31,9 +27,6 @@ import javax.annotation.Nonnull; import javax.annotation.Nullable; import javax.inject.Inject; -import butterknife.Bind; -import butterknife.ButterKnife; - import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_PORTRAIT; import static android.content.pm.ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED; import static android.view.WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON; @@ -53,10 +46,6 @@ public abstract class BaseActivity extends AppCompatActivity implements SharedPr @Inject Editor editor; @Inject - History history; - @Inject - Keyboard keyboard; - @Inject Calculator calculator; @Inject Ga ga;