Skip to content

Commit 1858d28

Browse files
markhbradyError Prone Team
authored and
Error Prone Team
committed
Max Files for flume
PiperOrigin-RevId: 721968682
1 parent 09fd394 commit 1858d28

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

+4-3
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,10 @@ static enum CaseQualifications {
164164
this.enableDirectConversion =
165165
flags.getBoolean("StatementSwitchToExpressionSwitch:EnableDirectConversion").orElse(true);
166166
this.enableReturnSwitchConversion =
167-
flags
168-
.getBoolean("StatementSwitchToExpressionSwitch:EnableReturnSwitchConversion")
169-
.orElse(true);
167+
true
168+
|| flags
169+
.getBoolean("StatementSwitchToExpressionSwitch:EnableReturnSwitchConversion")
170+
.orElse(true);
170171
this.enableAssignmentSwitchConversion =
171172
flags
172173
.getBoolean("StatementSwitchToExpressionSwitch:EnableAssignmentSwitchConversion")

0 commit comments

Comments
 (0)