From: Andy Clement Date: Thu, 8 Jan 2015 00:49:21 +0000 (-0800) Subject: 456374: == to equals X-Git-Tag: V1_8_5~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fa8938845f03855f59fff155b1e0d118e85ead7f;p=aspectj.git 456374: == to equals --- 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());