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:
hanna 2010-01-29 21:35:59 +00:00
parent c6cc844e55
commit 668c7da33d
1 changed files with 4 additions and 1 deletions

View File

@ -565,7 +565,10 @@ class BAMFileReader2
* Closes down the existing iterator.
*/
public void close() {
wrappedIterator.close();
if (this != mCurrentIterator) {
throw new IllegalStateException("Attempt to close non-current iterator");
}
mCurrentIterator = null;
}
/**