aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/javassist/convert/TransformAccessArrayField.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/javassist/convert/TransformAccessArrayField.java')
-rw-r--r--src/main/javassist/convert/TransformAccessArrayField.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/javassist/convert/TransformAccessArrayField.java b/src/main/javassist/convert/TransformAccessArrayField.java
index 6dab42a5..b80ed0c3 100644
--- a/src/main/javassist/convert/TransformAccessArrayField.java
+++ b/src/main/javassist/convert/TransformAccessArrayField.java
@@ -218,7 +218,7 @@ public final class TransformAccessArrayField extends Transformer {
break;
}
- if (methodName.equals(""))
+ if ("".equals(methodName))
methodName = null;
return methodName;