Skip to content

Commit

Permalink
Remove deprecated constructors in CenterInside
Browse files Browse the repository at this point in the history
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=178240180
  • Loading branch information
sjudd committed Dec 7, 2017
1 parent 733b2e0 commit 9bedc2b
Showing 1 changed file with 0 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -21,24 +20,6 @@ public CenterInside() {
// Intentionally empty.
}

/**
* @deprecated Use {@link #CenterInside()}.
* @param context Ignored.
*/
@Deprecated
public CenterInside(@SuppressWarnings("unused") Context context) {
this();
}

/**
* @deprecated Use {@link #CenterInside()}.
* @param bitmapPool Ignored.
*/
@Deprecated
public CenterInside(@SuppressWarnings("unused") BitmapPool bitmapPool) {
this();
}

@Override
protected Bitmap transform(
@NonNull BitmapPool pool, @NonNull Bitmap toTransform, int outWidth, int outHeight) {
Expand Down

0 comments on commit 9bedc2b

Please sign in to comment.