Skip to content

Commit a49a374

Browse files
markhbradyError Prone Team
authored and
Error Prone Team
committed
Max Files for flume
PiperOrigin-RevId: 721968682
1 parent cecce2e commit a49a374

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

core/src/main/java/com/google/errorprone/bugpatterns/StatementSwitchToExpressionSwitch.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,10 @@ static enum CaseQualifications {
161161
this.enableDirectConversion =
162162
flags.getBoolean("StatementSwitchToExpressionSwitch:EnableDirectConversion").orElse(true);
163163
this.enableReturnSwitchConversion =
164-
flags
165-
.getBoolean("StatementSwitchToExpressionSwitch:EnableReturnSwitchConversion")
166-
.orElse(true);
164+
true
165+
|| flags
166+
.getBoolean("StatementSwitchToExpressionSwitch:EnableReturnSwitchConversion")
167+
.orElse(true);
167168
this.enableAssignmentSwitchConversion =
168169
flags
169170
.getBoolean("StatementSwitchToExpressionSwitch:EnableAssignmentSwitchConversion")

0 commit comments

Comments
 (0)