mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
+2
-2
@@ -113,10 +113,10 @@ public class StringEqualsEmptyStringInspection extends BaseInspection {
|
||||
if (BoolUtils.isNegation(parentExpression)) {
|
||||
expressionToReplace = parentExpression;
|
||||
if (useIsEmpty) {
|
||||
newExpression.append('!' + variableText + ".isEmpty()");
|
||||
newExpression.append('!').append(variableText).append(".isEmpty()");
|
||||
}
|
||||
else {
|
||||
newExpression.append(variableText + ".length()!=0");
|
||||
newExpression.append(variableText).append(".length()!=0");
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user