Skip to content

Commit

Permalink
Remove transform(Context)
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=153706169
  • Loading branch information
sjudd committed Apr 24, 2017
1 parent 22456e2 commit 63275bc
Showing 1 changed file with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -805,30 +805,6 @@ final CHILD transform(DownsampleStrategy downsampleStrategy,
return transform(transformation);
}

/**
* 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 throws an exception if asked to transform an unknown type.
*
* <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 #optionalTransform(android.content.Context, com.bumptech.glide.load.Transformation)
* @see #optionalTransform(Class, com.bumptech.glide.load.Transformation)
*
* @deprecated See {@link #transform(Transformation)}.
*/
@Deprecated
@GlideOption(staticMethodName = "bitmapTransform")
public CHILD transform(
@SuppressWarnings("unused") Context context, @NonNull Transformation<Bitmap> transformation) {
return transform(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 63275bc

Please sign in to comment.