Remove pointless assertions: @ NonNull removes need for assertions

This commit is contained in:
Anthony Restaino 2015-09-07 20:34:06 -04:00
parent 732d309888
commit e00c82655a

View File

@ -30,9 +30,6 @@ public class DownloadImageTask extends AsyncTask<Void, Void, Bitmap> {
public DownloadImageTask(@NonNull ImageView bmImage, @NonNull HistoryItem web, public DownloadImageTask(@NonNull ImageView bmImage, @NonNull HistoryItem web,
@NonNull Bitmap defaultBitmap) { @NonNull Bitmap defaultBitmap) {
assert bmImage != null;
assert web != null;
assert defaultBitmap != null;
this.bmImage = bmImage; this.bmImage = bmImage;
this.mWeb = web; this.mWeb = web;
this.mCacheDir = bmImage.getContext().getCacheDir(); this.mCacheDir = bmImage.getContext().getCacheDir();