DataPoint: useless check removed (already handled in previous branch)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user