diff options
author | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-08-29 14:31:45 +0400 |
---|---|---|
committer | Roman Shevchenko <roman.shevchenko@jetbrains.com> | 2014-08-29 14:57:29 +0400 |
commit | 84ea54eb1e2c68091080951a3024cca98f70aca2 (patch) | |
tree | 323218d81ced0fd327fa3701ec9f7f1e407855f8 /src/org/jetbrains/java/decompiler/struct/attr | |
parent | 076e4393f25bf1ad1ff1bd2853153e2b595dd90b (diff) | |
download | fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.tar fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.tar.gz fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.tar.lz fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.tar.xz fernflower-84ea54eb1e2c68091080951a3024cca98f70aca2.zip |
java-decompiler: post-import cleanup (code style issues)
Diffstat (limited to 'src/org/jetbrains/java/decompiler/struct/attr')
-rw-r--r-- | src/org/jetbrains/java/decompiler/struct/attr/StructExceptionsAttribute.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/jetbrains/java/decompiler/struct/attr/StructExceptionsAttribute.java b/src/org/jetbrains/java/decompiler/struct/attr/StructExceptionsAttribute.java index 930db78..c52fcc7 100644 --- a/src/org/jetbrains/java/decompiler/struct/attr/StructExceptionsAttribute.java +++ b/src/org/jetbrains/java/decompiler/struct/attr/StructExceptionsAttribute.java @@ -51,7 +51,7 @@ public class StructExceptionsAttribute extends StructGeneralAttribute { if (len > 0) { info = new byte[len * 2]; for (int i = 0, j = 0; i < len; i++, j += 2) { - int index = ((Integer)throwsExceptions.get(i)).intValue(); + int index = throwsExceptions.get(i).intValue(); info[j] = (byte)(index >> 8); info[j + 1] = (byte)(index & 0xFF); } @@ -63,7 +63,7 @@ public class StructExceptionsAttribute extends StructGeneralAttribute { } public String getExcClassname(int index, ConstantPool pool) { - return pool.getPrimitiveConstant(((Integer)throwsExceptions.get(index)).intValue()).getString(); + return pool.getPrimitiveConstant(throwsExceptions.get(index).intValue()).getString(); } public List<Integer> getThrowsExceptions() { |