mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
SimplifyBooleanExpressionAction: do not warn on x = (true)
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
// "Simplify boolean expression" "false"
|
||||
class X {
|
||||
void f() {
|
||||
boolean x;
|
||||
x = (<caret>false); // Another action "Remove redundant parentheses" is ok here
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user