Skip to content

Commit 4f20df2

Browse files
markhbradyError Prone Team
authored andcommitted
Max Files for flume
PiperOrigin-RevId: 721968682
1 parent d17e312 commit 4f20df2

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
@@ -173,9 +173,10 @@ enum CaseQualifications {
173173
.getBoolean("StatementSwitchToExpressionSwitch:EnableReturnSwitchConversion")
174174
.orElse(true);
175175
this.enableAssignmentSwitchConversion =
176-
flags
177-
.getBoolean("StatementSwitchToExpressionSwitch:EnableAssignmentSwitchConversion")
178-
.orElse(true);
176+
true
177+
|| flags
178+
.getBoolean("StatementSwitchToExpressionSwitch:EnableAssignmentSwitchConversion")
179+
.orElse(true);
179180
}
180181

181182
@Override

0 commit comments

Comments
 (0)