summaryrefslogtreecommitdiffstats
path: root/src/org/jetbrains/java/decompiler/struct/gen/VarType.java
diff options
context:
space:
mode:
authorRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-08-29 21:58:12 +0400
committerRoman Shevchenko <roman.shevchenko@jetbrains.com>2014-08-29 21:58:12 +0400
commitf5431c3bb14854025dc1f0ec470b77497f79494c (patch)
tree909c1c06492d849fa062a60c56a02dd26e7095b6 /src/org/jetbrains/java/decompiler/struct/gen/VarType.java
parent63b8d35d08a198215ddabb42cca5b0e823232768 (diff)
downloadfernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.tar
fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.tar.gz
fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.tar.lz
fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.tar.xz
fernflower-f5431c3bb14854025dc1f0ec470b77497f79494c.zip
java-decompiler: post-import cleanup (common fixes and optimizations)
Diffstat (limited to 'src/org/jetbrains/java/decompiler/struct/gen/VarType.java')
-rw-r--r--src/org/jetbrains/java/decompiler/struct/gen/VarType.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/jetbrains/java/decompiler/struct/gen/VarType.java b/src/org/jetbrains/java/decompiler/struct/gen/VarType.java
index 1b6ff99..a58898a 100644
--- a/src/org/jetbrains/java/decompiler/struct/gen/VarType.java
+++ b/src/org/jetbrains/java/decompiler/struct/gen/VarType.java
@@ -306,7 +306,7 @@ public class VarType { // TODO: optimize switch
}
}
- private int getType(char c) {
+ private static int getType(char c) {
switch (c) {
case 'B':
return CodeConstants.TYPE_BYTE;
@@ -343,7 +343,7 @@ public class VarType { // TODO: optimize switch
}
}
- private String getChar(int type) {
+ private static String getChar(int type) {
switch (type) {
case CodeConstants.TYPE_BYTE:
return "B";