Fix bug with source maps generator

This commit is contained in:
Alexey Andreev 2015-01-20 18:45:20 +04:00
parent 525fd89374
commit 8950121d01
2 changed files with 6 additions and 2 deletions

View File

@ -33,8 +33,10 @@ public class ExactMethodIterator {
ExactMethodIterator(DebugInformation debugInformation) {
this.debugInformation = debugInformation;
if (!isEndReached()) {
read();
}
}
public boolean isEndReached() {
return methodIndex >= debugInformation.methodMapping.size() &&

View File

@ -31,8 +31,10 @@ public class SourceLocationIterator {
SourceLocationIterator(DebugInformation debugInformation) {
this.debugInformation = debugInformation;
if (!isEndReached()) {
read();
}
}
public boolean isEndReached() {
return fileIndex >= debugInformation.fileMapping.size() &&