mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-01 02:38:59 +07:00
make 'remove loop' fix work for '(false)' and 'for' (IDEA-CR-20896)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// "Simplify boolean expression" "true"
|
||||
// "Remove 'if' statement" "true"
|
||||
class X {
|
||||
void f() {
|
||||
int i = 2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Simplify boolean expression" "true"
|
||||
// "Unwrap 'if' statement" "true"
|
||||
class X {
|
||||
void f() {
|
||||
//sdf
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Simplify boolean expression" "true"
|
||||
// "Unwrap 'if' statement" "true"
|
||||
class X {
|
||||
void f(Object pVal, Object n) {
|
||||
if (!pVal.equals(n))
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Simplify boolean expression" "true"
|
||||
// "Remove 'if' statement" "true"
|
||||
class X {
|
||||
void f() {
|
||||
int i = 2;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Simplify boolean expression" "true"
|
||||
// "Unwrap 'if' statement" "true"
|
||||
class X {
|
||||
void f() {
|
||||
if ((!(!((boolean)true))<caret> ==(true))) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// "Simplify boolean expression" "true"
|
||||
// "Unwrap 'if' statement" "true"
|
||||
class X {
|
||||
void f(Object pVal, Object n) {
|
||||
if (!pVal.equals(n))
|
||||
|
||||
Reference in New Issue
Block a user