DataPoint: useless check removed (already handled in previous branch)

master
Tagir Valeev 8 years ago
parent d706718b1b
commit fdf34d9be2
  1. 5
      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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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()) { if (index < localVariables.size()) {
return localVariables.get(index); return localVariables.get(index);
} }
else if (index < 0) {
throw new IndexOutOfBoundsException();
}
else { else {
return new VarType(CodeConstants.TYPE_NOTINITIALIZED); return new VarType(CodeConstants.TYPE_NOTINITIALIZED);
} }

Loading…
Cancel
Save