Skip to content

Commit 2f76842

Browse files
committed
Remove deprecated CenterCrop constructor.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=178649539
1 parent 76c6af2 commit 2f76842

File tree

1 file changed

+0
-10
lines changed
  • library/src/main/java/com/bumptech/glide/load/resource/bitmap

1 file changed

+0
-10
lines changed

library/src/main/java/com/bumptech/glide/load/resource/bitmap/CenterCrop.java

-10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.bumptech.glide.load.resource.bitmap;
22

3-
import android.content.Context;
43
import android.graphics.Bitmap;
54
import android.support.annotation.NonNull;
65
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
@@ -21,15 +20,6 @@ public CenterCrop() {
2120
// Intentionally empty.
2221
}
2322

24-
/**
25-
* @deprecated Use {@link #CenterCrop()}.
26-
* @param context Ignored.
27-
*/
28-
@Deprecated
29-
public CenterCrop(@SuppressWarnings("unused") Context context) {
30-
this();
31-
}
32-
3323
// Bitmap doesn't implement equals, so == and .equals are equivalent here.
3424
@SuppressWarnings("PMD.CompareObjectsWithEquals")
3525
@Override

0 commit comments

Comments
 (0)