Skip to content

Commit eceabdc

Browse files
sjuddSam Judd
authored andcommitted
Remove deprecated optionalCenterCrop(Context)
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=154912567
1 parent e72fe91 commit eceabdc

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

library/src/main/java/com/bumptech/glide/request/BaseRequestOptions.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -504,27 +504,6 @@ public CHILD downsample(@NonNull DownsampleStrategy strategy) {
504504
return set(Downsampler.DOWNSAMPLE_STRATEGY, Preconditions.checkNotNull(strategy));
505505
}
506506

507-
/**
508-
* Applies {@link com.bumptech.glide.load.resource.bitmap.CenterCrop} to all default types, and
509-
* ignores unknown types.
510-
*
511-
* <p>This will override previous calls to {@link #dontTransform()}.
512-
*
513-
* @param context Any {@link android.content.Context}.
514-
* @see #optionalTransform(Class, com.bumptech.glide.load.Transformation)
515-
* @see #centerCrop(android.content.Context)
516-
*
517-
* @deprecated Use {@link #optionalCenterCrop()}.
518-
*/
519-
@Deprecated
520-
@GlideOption(
521-
staticMethodName = "optionalCenterCropTransform",
522-
memoizeStaticMethod = true
523-
)
524-
public CHILD optionalCenterCrop(@SuppressWarnings("unused") Context context) {
525-
return optionalCenterCrop();
526-
}
527-
528507
/**
529508
* Applies {@link com.bumptech.glide.load.resource.bitmap.CenterCrop} to all default types, and
530509
* ignores unknown types.

0 commit comments

Comments
 (0)