Skip to content

Commit

Permalink
Remove deprecated constructors in BitmapDrawableTransformation
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=184142212
  • Loading branch information
sjudd committed Feb 12, 2018
1 parent 9922972 commit 05e3215
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import android.support.annotation.NonNull;
import com.bumptech.glide.load.Transformation;
import com.bumptech.glide.load.engine.Resource;
import com.bumptech.glide.load.engine.bitmap_recycle.BitmapPool;
import com.bumptech.glide.util.Preconditions;
import java.security.MessageDigest;

Expand All @@ -28,26 +27,6 @@ public BitmapDrawableTransformation(Transformation<Bitmap> wrapped) {
Preconditions.checkNotNull(new DrawableTransformation(wrapped, /*isRequired=*/ false));
}

/**
* @deprecated use {@link #BitmapDrawableTransformation(Transformation)}}
*/
@Deprecated
public BitmapDrawableTransformation(
@SuppressWarnings("unused") Context context, Transformation<Bitmap> wrapped) {
this(wrapped);
}

/**
* @deprecated use {@link #BitmapDrawableTransformation(Transformation)}}
*/
@Deprecated
public BitmapDrawableTransformation(
@SuppressWarnings("unused") Context context,
@SuppressWarnings("unused") BitmapPool bitmapPool,
Transformation<Bitmap> wrapped) {
this(wrapped);
}

@NonNull
@Override
public Resource<BitmapDrawable> transform(
Expand Down

0 comments on commit 05e3215

Please sign in to comment.