From fa8938845f03855f59fff155b1e0d118e85ead7f Mon Sep 17 00:00:00 2001 From: Andy Clement Date: Wed, 7 Jan 2015 16:49:21 -0800 Subject: [PATCH] 456374: == to equals --- weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- 2.39.5