From a6f1b1c1bef5b4e8be736c564792715266b07463 Mon Sep 17 00:00:00 2001 From: judds Date: Tue, 19 Dec 2017 11:23:51 -0800 Subject: [PATCH] Remove deprecated constructor in RoundedCorners ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=179580259 --- .../glide/load/resource/bitmap/RoundedCorners.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/library/src/main/java/com/bumptech/glide/load/resource/bitmap/RoundedCorners.java b/library/src/main/java/com/bumptech/glide/load/resource/bitmap/RoundedCorners.java index ac6a3a0c62..e9e699125e 100644 --- a/library/src/main/java/com/bumptech/glide/load/resource/bitmap/RoundedCorners.java +++ b/library/src/main/java/com/bumptech/glide/load/resource/bitmap/RoundedCorners.java @@ -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; @@ -27,17 +26,6 @@ public RoundedCorners(int roundingRadius) { this.roundingRadius = roundingRadius; } - /** - * @param roundingRadius the corner radius (in device-specific pixels). - * @throws IllegalArgumentException if rounding radius is 0 or less. - * - * @deprecated Use {@link #RoundedCorners(int)} - */ - @Deprecated - public RoundedCorners(@SuppressWarnings("unused") Context context, int roundingRadius) { - this(roundingRadius); - } - @Override protected Bitmap transform( @NonNull BitmapPool pool, @NonNull Bitmap toTransform, int outWidth, int outHeight) {