mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
12 lines
221 B
Java
12 lines
221 B
Java
// "Simplify boolean expression" "true"
|
|
package test;
|
|
|
|
public class TestSimplifyIf
|
|
{
|
|
void test() {
|
|
String str = "";
|
|
if ((<caret>false || str.equals("hello")) && !str.equals("foo")) {
|
|
// Nothing
|
|
}
|
|
}
|
|
} |