mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 18:20:52 +07:00
12 lines
211 B
Java
12 lines
211 B
Java
// "Simplify boolean expression" "true-preview"
|
|
package test;
|
|
|
|
public class TestSimplifyIf
|
|
{
|
|
void test() {
|
|
String str = "";
|
|
if (str.equals("hello") && !str.equals("foo")) {
|
|
// Nothing
|
|
}
|
|
}
|
|
} |