mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 10:48:09 +07:00
Fixes IDEA-246008 "Constant condition" Inspection quick fix removes boolean value from string concatenation when between two values GitOrigin-RevId: 635e6b5f0b0a102d9c1ddecbbf54315b9b52f2dd
9 lines
157 B
Java
9 lines
157 B
Java
// "Simplify 'b' to true" "true"
|
|
class A {
|
|
void foo(boolean b) {
|
|
if (b) {
|
|
String s = "foo" + true + "bar";
|
|
}
|
|
|
|
}
|
|
} |