From fdf34d9be209fa863c177d54782b288eb5ba57a6 Mon Sep 17 00:00:00 2001 From: Tagir Valeev Date: Thu, 13 Apr 2017 12:45:45 +0700 Subject: [PATCH] DataPoint: useless check removed (already handled in previous branch) --- src/org/jetbrains/java/decompiler/struct/gen/DataPoint.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/org/jetbrains/java/decompiler/struct/gen/DataPoint.java b/src/org/jetbrains/java/decompiler/struct/gen/DataPoint.java index 546c5a5..e067999 100644 --- a/src/org/jetbrains/java/decompiler/struct/gen/DataPoint.java +++ b/src/org/jetbrains/java/decompiler/struct/gen/DataPoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -43,9 +43,6 @@ public class DataPoint { if (index < localVariables.size()) { return localVariables.get(index); } - else if (index < 0) { - throw new IndexOutOfBoundsException(); - } else { return new VarType(CodeConstants.TYPE_NOTINITIALIZED); }