From 6759c476efd2a59a74bfa331bb9a6fe5cbf4fb8f Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Thu, 1 Mar 2018 13:09:25 +0700 Subject: [PATCH] CleanUp: redundant String operation fixes applied --- src/org/jetbrains/java/decompiler/struct/gen/VarType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/jetbrains/java/decompiler/struct/gen/VarType.java b/src/org/jetbrains/java/decompiler/struct/gen/VarType.java index 384d31b..4362f38 100644 --- a/src/org/jetbrains/java/decompiler/struct/gen/VarType.java +++ b/src/org/jetbrains/java/decompiler/struct/gen/VarType.java @@ -82,7 +82,7 @@ public class VarType { // TODO: optimize switch } default: - value = signature.substring(i, signature.length()); + value = signature.substring(i); if ((clType && i == 0) || value.length() > 1) { type = CodeConstants.TYPE_OBJECT; }