]> source.dussan.org Git - aspectj.git/commitdiff
456374: == to equals
authorAndy Clement <aclement@gopivotal.com>
Thu, 8 Jan 2015 00:49:21 +0000 (16:49 -0800)
committerAndy Clement <aclement@gopivotal.com>
Thu, 8 Jan 2015 00:49:21 +0000 (16:49 -0800)
weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java

index 8e2b098679c0a4e0ef260707df9639398869adae..bc465a2ea570e91b5c66f3a5a794312eca953376 100644 (file)
@@ -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());