Bug fix in custom override of queryOverlapping.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@2743 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
c6cc844e55
commit
668c7da33d
|
|
@ -565,7 +565,10 @@ class BAMFileReader2
|
||||||
* Closes down the existing iterator.
|
* Closes down the existing iterator.
|
||||||
*/
|
*/
|
||||||
public void close() {
|
public void close() {
|
||||||
wrappedIterator.close();
|
if (this != mCurrentIterator) {
|
||||||
|
throw new IllegalStateException("Attempt to close non-current iterator");
|
||||||
|
}
|
||||||
|
mCurrentIterator = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue