We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ad4adf commit f5f0e84Copy full SHA for f5f0e84
1 file changed
core/src/main/java/com/google/errorprone/bugpatterns/RefactorSwitch.java
@@ -106,7 +106,7 @@ public final class RefactorSwitch extends BugChecker
106
RefactorSwitch(ErrorProneFlags flags) {
107
enableAssignmentSwitch = flags.getBoolean("RefactorSwitch:EnableAssignmentSwitch").orElse(true);
108
enableReturnSwitch = flags.getBoolean("RefactorSwitch:EnableReturnSwitch").orElse(true);
109
- enableSimplifySwitch = flags.getBoolean("RefactorSwitch:EnableSimplifySwitch").orElse(false);
+ enableSimplifySwitch = flags.getBoolean("RefactorSwitch:EnableSimplifySwitch").orElse(true);
110
}
111
112
@Override
0 commit comments