Skip to content

Commit

Permalink
Suppress SameParameterValue warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
davemorrissey committed Dec 12, 2017
1 parent 43bf80b commit 4856a41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public SkiaImageDecoder() {
this(null);
}

@SuppressWarnings("WeakerAccess")
@SuppressWarnings({"WeakerAccess", "SameParameterValue"})
public SkiaImageDecoder(Bitmap.Config bitmapConfig) {
Bitmap.Config globalBitmapConfig = SubsamplingScaleImageView.getPreferredBitmapConfig();
if (bitmapConfig != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public SkiaImageRegionDecoder() {
this(null);
}

@SuppressWarnings("WeakerAccess")
@SuppressWarnings({"WeakerAccess", "SameParameterValue"})
public SkiaImageRegionDecoder(Bitmap.Config bitmapConfig) {
Bitmap.Config globalBitmapConfig = SubsamplingScaleImageView.getPreferredBitmapConfig();
if (bitmapConfig != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public SkiaPooledImageRegionDecoder() {
this(null);
}

@SuppressWarnings("WeakerAccess")
@SuppressWarnings({"WeakerAccess", "SameParameterValue"})
public SkiaPooledImageRegionDecoder(Bitmap.Config bitmapConfig) {
Bitmap.Config globalBitmapConfig = SubsamplingScaleImageView.getPreferredBitmapConfig();
if (bitmapConfig != null) {
Expand Down

0 comments on commit 4856a41

Please sign in to comment.