We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 769cd20 commit d5f6366Copy full SHA for d5f6366
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