aboutsummaryrefslogtreecommitdiffstats
path: root/bcel-builder
diff options
context:
space:
mode:
authoraclement <aclement>2008-08-27 23:59:13 +0000
committeraclement <aclement>2008-08-27 23:59:13 +0000
commit87ef73fb813749243fd6b549888a83f92e36644e (patch)
treeff479d3e3c488873d8e655ce20fc0ccc64b67542 /bcel-builder
parent7e81084dfadf74ad99e7741756f110266bcbadff (diff)
downloadaspectj-87ef73fb813749243fd6b549888a83f92e36644e.tar.gz
aspectj-87ef73fb813749243fd6b549888a83f92e36644e.zip
unnecessary code removed
Diffstat (limited to 'bcel-builder')
-rw-r--r--bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/SimpleElementValueGen.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/SimpleElementValueGen.java b/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/SimpleElementValueGen.java
index b2891f95a..7f5030f98 100644
--- a/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/SimpleElementValueGen.java
+++ b/bcel-builder/src/org/aspectj/apache/bcel/classfile/annotation/SimpleElementValueGen.java
@@ -222,7 +222,7 @@ public class SimpleElementValueGen extends ElementValueGen {
case PRIMITIVE_BOOLEAN:
ConstantInteger bo = (ConstantInteger)cpGen.getConstant(idx);
if (bo.getBytes() == 0) return "false";
- if (bo.getBytes() != 0) return "true";
+ else return "true";
case STRING:
ConstantUtf8 cu8 = (ConstantUtf8)cpGen.getConstant(idx);
return cu8.getBytes();