Skip to content

Commit

Permalink
Enable StatementSwitchToExpressionSwitch analysis phase
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 642701869
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Jun 12, 2024
1 parent 11034f3 commit 04c76af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1052,6 +1052,7 @@ public static ScannerSupplier warningChecks() {
ScopeAnnotationOnInterfaceOrAbstractClass.class,
SelfAlwaysReturnsThis.class,
ShortCircuitBoolean.class,
StatementSwitchToExpressionSwitch.class,
StaticAssignmentInConstructor.class,
StaticAssignmentOfThrowable.class,
StaticGuardedByInstance.class,
Expand Down Expand Up @@ -1205,7 +1206,6 @@ public static ScannerSupplier warningChecks() {
ReturnsNullCollection.class,
ScopeOnModule.class,
ScopeOrQualifierAnnotationRetention.class,
StatementSwitchToExpressionSwitch.class,
StaticOrDefaultInterfaceMethod.class,
StaticQualifiedUsingExpression.class,
StringFormatWithLiteral.class,
Expand Down

0 comments on commit 04c76af

Please sign in to comment.