cleanup with "Inspect and Transform"

This commit is contained in:
Honfika
2013-11-07 00:26:49 +01:00
parent 9870157b6b
commit bef5f0ae67
69 changed files with 821 additions and 738 deletions
@@ -81,7 +81,7 @@ public class FunctionActionItem extends ActionItem {
if (calculatedFunctionName != null) {
writer.append(" ");
calculatedFunctionName.toStringNoQuotes(writer, localData);
} else if (!functionName.equals("")) {
} else if (!functionName.isEmpty()) {
writer.append(" ");
writer.append(functionName);
}
@@ -91,7 +91,7 @@ public class FunctionActionItem extends ActionItem {
writer.append(", ");
}
String pname = paramNames.get(p);
if (pname == null || pname.equals("")) {
if (pname == null || pname.isEmpty()) {
pname = new RegisterNumber(regStart + p).translate();
}
writer.append(pname);