summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2015-01-07 16:49:21 -0800
committerAndy Clement <aclement@gopivotal.com>2015-01-07 16:49:21 -0800
commitfa8938845f03855f59fff155b1e0d118e85ead7f (patch)
tree473cc974360f1c67e729f75d290aeb31440beb2d
parentb45ec3291d0f7380e747c59c30262fb5b68d1743 (diff)
downloadaspectj-fa8938845f03855f59fff155b1e0d118e85ead7f.tar.gz
aspectj-fa8938845f03855f59fff155b1e0d118e85ead7f.zip
456374: == to equals
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
index 8e2b09867..bc465a2ea 100644
--- a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
+++ b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
@@ -790,7 +790,7 @@ public final class LazyClassGen {
public String toShortString() {
String s = org.aspectj.apache.bcel.classfile.Utility.accessToString(myGen.getModifiers(), true);
- if (s != "") {
+ if (!s.equals("")) {
s += " ";
}
s += org.aspectj.apache.bcel.classfile.Utility.classOrInterface(myGen.getModifiers());