Remove pointless assertions: @ NonNull removes need for assertions
This commit is contained in:
parent
732d309888
commit
e00c82655a
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user