summaryrefslogtreecommitdiffstats
path: root/src/org/jetbrains/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/jetbrains/java')
-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( '.', '_' );