Skip to content

Commit

Permalink
Update google-java-format to 1.23.0
Browse files Browse the repository at this point in the history
Reviewed By: hick209

Differential Revision: D60787993

fbshipit-source-id: dbadc5184c0a7cccd967173e21602657013ddac7
  • Loading branch information
j-bahr authored and facebook-github-bot committed Oct 12, 2024
1 parent defe02d commit 637be4b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ private static AnimatedDrawableFrameInfo.DisposalMethod translateFrameDisposal(i
case 3: // restore to previous
return AnimatedDrawableFrameInfo.DisposalMethod.DISPOSE_TO_PREVIOUS;
case 1: // do not dispose
// fallthrough
// fallthrough
default: // unspecified
return AnimatedDrawableFrameInfo.DisposalMethod.DISPOSE_DO_NOT;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public static String toString(@ImageOrigin int imageOrigin) {
case ImageOrigin.LOCAL:
return "local";
case ImageOrigin.UNKNOWN:
// fall through
// fall through
default:
return "unknown";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public BitmapPool getBitmapPool() {
mConfig.isIgnoreBitmapPoolHardCap());
break;
case BitmapPoolType.LEGACY:
// fall through
// fall through
default:
if (Build.VERSION.SDK_INT >= 21) {
mBitmapPool =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ protected void onCreate(Bundle savedInstanceState) {
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
// Respond to the action bar's Up/Home button
// Respond to the action bar's Up/Home button
case android.R.id.home:
supportFinishAfterTransition();
return true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public static ScaleType convertFromImageViewScaleType(ImageView.ScaleType scaleT
return ScaleType.FIT_END;
case FIT_XY:
return ScaleType.FIT_XY;
// Matrix is not supported
// Matrix is not supported
case MATRIX:
default:
return null;
Expand Down

0 comments on commit 637be4b

Please sign in to comment.