Skip to content

Commit d09bbce

Browse files
markhbradyError Prone Team
authored andcommitted
Max Files for flume
PiperOrigin-RevId: 721968682
1 parent 175f4c8 commit d09bbce

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
@@ -162,9 +162,10 @@ static enum CaseQualifications {
162162
this.enableDirectConversion =
163163
flags.getBoolean("StatementSwitchToExpressionSwitch:EnableDirectConversion").orElse(true);
164164
this.enableReturnSwitchConversion =
165-
flags
166-
.getBoolean("StatementSwitchToExpressionSwitch:EnableReturnSwitchConversion")
167-
.orElse(true);
165+
true
166+
|| flags
167+
.getBoolean("StatementSwitchToExpressionSwitch:EnableReturnSwitchConversion")
168+
.orElse(true);
168169
this.enableAssignmentSwitchConversion =
169170
flags
170171
.getBoolean("StatementSwitchToExpressionSwitch:EnableAssignmentSwitchConversion")

0 commit comments

Comments
 (0)