Skip to content

Commit

Permalink
Remove some debugging code from FlickrGlideExtension.
Browse files Browse the repository at this point in the history
  • Loading branch information
sjudd committed Dec 31, 2017
1 parent 13ca461 commit ebff466
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,11 @@ private FlickrGlideExtension() {

@GlideOption
public static RequestOptions squareThumb(RequestOptions requestOptions) {
return requestOptions
.centerCrop();
return requestOptions.centerCrop();
}

@GlideOption
public static RequestOptions squareMiniThumb(RequestOptions requestOptions) {
return requestOptions.centerCrop().override(Api.SQUARE_THUMB_SIZE);
}

@GlideOption(override = GlideOption.OVERRIDE_EXTEND)
public static RequestOptions centerCrop(RequestOptions options) {
return options;
// Empty.
}
}

0 comments on commit ebff466

Please sign in to comment.