summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2015-02-25 10:21:23 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2015-02-25 10:21:23 +0000
commit2c6840ac26eb851c477ef8a4c7d6c82f75f846a9 (patch)
tree12fa521dd719e62f6634a68190e784e4c0ebe7d5 /src
parent7cfb48c2ed554f1cbf9693b2ff957d984c8e0f91 (diff)
downloadfernflower-2c6840ac26eb851c477ef8a4c7d6c82f75f846a9.tar
fernflower-2c6840ac26eb851c477ef8a4c7d6c82f75f846a9.tar.gz
fernflower-2c6840ac26eb851c477ef8a4c7d6c82f75f846a9.tar.lz
fernflower-2c6840ac26eb851c477ef8a4c7d6c82f75f846a9.tar.xz
fernflower-2c6840ac26eb851c477ef8a4c7d6c82f75f846a9.zip
Fix issues with generics with generics
Diffstat (limited to 'src')
-rw-r--r--src/org/jetbrains/java/decompiler/util/VarHelper.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/jetbrains/java/decompiler/util/VarHelper.java b/src/org/jetbrains/java/decompiler/util/VarHelper.java
index 3828159..f76dca9 100644
--- a/src/org/jetbrains/java/decompiler/util/VarHelper.java
+++ b/src/org/jetbrains/java/decompiler/util/VarHelper.java
@@ -67,7 +67,7 @@ public class VarHelper {
}
while (type.contains( "<" )) {
- type = type.substring(0, type.indexOf('<')) + type.substring(type.indexOf('>') + 1);
+ type = type.substring(0, type.indexOf('<')) + type.substring(type.lastIndexOf('>') + 1);
}
type = type.replace( '.', '_' );