Fix minor Lint issues

This commit is contained in:
Cameron Gutman
2016-06-18 12:38:43 -07:00
parent d30ecbed5b
commit 55b9645651
20 changed files with 24 additions and 44 deletions

View File

@@ -135,7 +135,7 @@ public class CachedAppAssetLoader {
private LoaderTuple tuple;
public LoaderTask(ImageView imageView, boolean diskOnly) {
this.imageViewRef = new WeakReference<ImageView>(imageView);
this.imageViewRef = new WeakReference<>(imageView);
this.diskOnly = diskOnly;
}
@@ -213,7 +213,7 @@ public class CachedAppAssetLoader {
public AsyncDrawable(Resources res, Bitmap bitmap,
LoaderTask loaderTask) {
super(res, bitmap);
loaderTaskReference = new WeakReference<LoaderTask>(loaderTask);
loaderTaskReference = new WeakReference<>(loaderTask);
}
public LoaderTask getLoaderTask() {

View File

@@ -7,7 +7,6 @@ import com.limelight.LimeLog;
import com.limelight.utils.CacheHelper;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;