Skip to content

Commit

Permalink
Remove deprecated optionalTransform(Context, Transformation<Bitmap>)
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=154325497
  • Loading branch information
sjudd authored and Sam Judd committed May 4, 2017
1 parent adbf642 commit 83544ce
Showing 1 changed file with 0 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -831,28 +831,6 @@ public CHILD transform(@NonNull Transformation<Bitmap> transformation) {
return selfOrThrowIfLocked();
}

/**
* Applies the given {@link com.bumptech.glide.load.Transformation} for
* {@link android.graphics.Bitmap Bitmaps} to the default types ({@link android.graphics.Bitmap},
* {@link android.graphics.drawable.BitmapDrawable}, and
* {@link com.bumptech.glide.load.resource.gif.GifDrawable}) and ignores unknown types.
*
* <p>This will override previous calls to {@link #dontTransform()}.
*
* @param context Any {@link android.content.Context}.
* @param transformation Any {@link com.bumptech.glide.load.Transformation} for
* {@link android.graphics.Bitmap}s.
* @see #transform(android.content.Context, com.bumptech.glide.load.Transformation)
* @see #transform(Class, com.bumptech.glide.load.Transformation)
*
* @deprecated Use {@link #optionalTransform(Transformation)}
*/
@Deprecated
@GlideOption(staticMethodName = "optionalBitmapTransform")
public CHILD optionalTransform(Context context, Transformation<Bitmap> transformation) {
return optionalTransform(transformation);
}

/**
* Applies the given {@link com.bumptech.glide.load.Transformation} for
* {@link android.graphics.Bitmap Bitmaps} to the default types ({@link android.graphics.Bitmap},
Expand Down

0 comments on commit 83544ce

Please sign in to comment.