diff options
author | aclement <aclement> | 2008-08-27 23:59:13 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-27 23:59:13 +0000 |
commit | 87ef73fb813749243fd6b549888a83f92e36644e (patch) | |
tree | ff479d3e3c488873d8e655ce20fc0ccc64b67542 /bcel-builder | |
parent | 7e81084dfadf74ad99e7741756f110266bcbadff (diff) | |
download | aspectj-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.java | 2 |
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(); |