Skip to content

Commit

Permalink
Remove deprecated CircleCrop constructor
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=178663970
  • Loading branch information
sjudd committed Dec 11, 2017
1 parent d427cbd commit 144ac53
Showing 1 changed file with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.bumptech.glide.load.resource.bitmap;

import android.content.Context;
import android.graphics.Bitmap;
import android.support.annotation.NonNull;
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
Expand All @@ -19,19 +18,6 @@ public class CircleCrop extends BitmapTransformation {
private static final String ID = "com.bumptech.glide.load.resource.bitmap.CircleCrop." + VERSION;
private static final byte[] ID_BYTES = ID.getBytes(CHARSET);

public CircleCrop() {
// Intentionally empty.
}

/**
* @deprecated Use {@link #CircleCrop()}.
* @param context Ignored.
*/
@Deprecated
public CircleCrop(@SuppressWarnings("unused") Context context) {
this();
}

// Bitmap doesn't implement equals, so == and .equals are equivalent here.
@SuppressWarnings("PMD.CompareObjectsWithEquals")
@Override
Expand Down

0 comments on commit 144ac53

Please sign in to comment.