Global import optimize

This commit is contained in:
Bradlee Speice 2014-07-19 00:32:26 -04:00
parent 46e1285b61
commit b7198b984c
8 changed files with 3 additions and 29 deletions

View File

@ -30,7 +30,7 @@ import rx.Observable;
import rx.functions.Action1; import rx.functions.Action1;
import rx.functions.Func1; import rx.functions.Func1;
import static com.jayway.awaitility.Awaitility.*; import static com.jayway.awaitility.Awaitility.await;
public class BookDownloadManagerTest extends TestCase implements Injector { public class BookDownloadManagerTest extends TestCase implements Injector {

View File

@ -1,7 +1,5 @@
package org.bspeice.minimalbible.test.activity.downloader.manager; package org.bspeice.minimalbible.test.activity.downloader.manager;
import android.os.Handler;
import android.os.Looper;
import android.util.Log; import android.util.Log;
import junit.framework.TestCase; import junit.framework.TestCase;
@ -13,16 +11,12 @@ import org.bspeice.minimalbible.activity.downloader.manager.InstalledManager;
import org.bspeice.minimalbible.activity.downloader.manager.RefreshManager; import org.bspeice.minimalbible.activity.downloader.manager.RefreshManager;
import org.crosswire.jsword.book.Book; import org.crosswire.jsword.book.Book;
import org.crosswire.jsword.book.Books; import org.crosswire.jsword.book.Books;
import org.crosswire.jsword.book.BooksEvent;
import org.crosswire.jsword.book.BooksListener;
import org.crosswire.jsword.book.install.InstallManager; import org.crosswire.jsword.book.install.InstallManager;
import org.crosswire.jsword.book.install.Installer; import org.crosswire.jsword.book.install.Installer;
import org.crosswire.jsword.book.sword.SwordBook; import org.crosswire.jsword.book.sword.SwordBook;
import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.List; import java.util.List;
import java.util.concurrent.Callable;
import java.util.concurrent.TimeUnit; import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicBoolean;
@ -33,7 +27,6 @@ import dagger.Module;
import dagger.ObjectGraph; import dagger.ObjectGraph;
import dagger.Provides; import dagger.Provides;
import rx.Observable; import rx.Observable;
import rx.android.schedulers.AndroidSchedulers;
import rx.functions.Action0; import rx.functions.Action0;
import rx.functions.Action1; import rx.functions.Action1;
import rx.functions.Func1; import rx.functions.Func1;

View File

@ -12,7 +12,6 @@ import android.widget.ListView;
import android.widget.Toast; import android.widget.Toast;
import org.bspeice.minimalbible.Injector; import org.bspeice.minimalbible.Injector;
import org.bspeice.minimalbible.MinimalBible;
import org.bspeice.minimalbible.R; import org.bspeice.minimalbible.R;
import org.bspeice.minimalbible.activity.BaseFragment; import org.bspeice.minimalbible.activity.BaseFragment;
import org.bspeice.minimalbible.activity.downloader.manager.RefreshManager; import org.bspeice.minimalbible.activity.downloader.manager.RefreshManager;

View File

@ -10,7 +10,6 @@ import android.widget.ListView;
import org.bspeice.minimalbible.R; import org.bspeice.minimalbible.R;
import org.bspeice.minimalbible.activity.BaseNavigationDrawerFragment; import org.bspeice.minimalbible.activity.BaseNavigationDrawerFragment;
import org.crosswire.jsword.book.Book;
import org.crosswire.jsword.book.BookCategory; import org.crosswire.jsword.book.BookCategory;
import java.util.List; import java.util.List;

View File

@ -1,11 +1,8 @@
package org.bspeice.minimalbible.activity.downloader.manager; package org.bspeice.minimalbible.activity.downloader.manager;
import android.content.Context;
import android.util.Log; import android.util.Log;
import org.bspeice.minimalbible.Injector; import org.bspeice.minimalbible.Injector;
import org.bspeice.minimalbible.MinimalBible;
import org.bspeice.minimalbible.activity.downloader.DownloadActivity;
import org.crosswire.common.progress.JobManager; import org.crosswire.common.progress.JobManager;
import org.crosswire.common.progress.Progress; import org.crosswire.common.progress.Progress;
import org.crosswire.common.progress.WorkEvent; import org.crosswire.common.progress.WorkEvent;
@ -21,7 +18,6 @@ import java.util.HashMap;
import java.util.Map; import java.util.Map;
import javax.inject.Inject; import javax.inject.Inject;
import javax.inject.Provider;
import javax.inject.Singleton; import javax.inject.Singleton;
import rx.Observable; import rx.Observable;

View File

@ -1,15 +1,9 @@
package org.bspeice.minimalbible.activity.downloader.manager; package org.bspeice.minimalbible.activity.downloader.manager;
import android.content.Context;
import org.bspeice.minimalbible.Injector; import org.bspeice.minimalbible.Injector;
import org.bspeice.minimalbible.MinimalBible;
import org.bspeice.minimalbible.activity.downloader.DownloadActivity;
import org.crosswire.jsword.book.Book; import org.crosswire.jsword.book.Book;
import org.crosswire.jsword.book.install.InstallManager;
import org.crosswire.jsword.book.install.Installer; import org.crosswire.jsword.book.install.Installer;
import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
@ -23,7 +17,6 @@ import rx.Observable;
import rx.functions.Action0; import rx.functions.Action0;
import rx.functions.Action1; import rx.functions.Action1;
import rx.functions.Func1; import rx.functions.Func1;
import rx.functions.Func2;
import rx.schedulers.Schedulers; import rx.schedulers.Schedulers;
/** /**

View File

@ -5,7 +5,6 @@ import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.AdapterView; import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView; import android.widget.ListView;
import org.bspeice.minimalbible.Injector; import org.bspeice.minimalbible.Injector;

View File

@ -1,18 +1,13 @@
package org.bspeice.minimalbible.test.activity; package org.bspeice.minimalbible.test.activity;
import android.os.Bundle;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;
import android.support.v4.app.Fragment;
import android.support.v4.app.FragmentManager; import android.support.v4.app.FragmentManager;
import android.support.v7.app.ActionBarActivity; import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu; import android.view.Menu;
import android.view.MenuItem; import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.os.Build;
import org.bspeice.minimalbible.R; import org.bspeice.minimalbible.R;