From: <tho...@us...> - 2010-10-22 19:47:10
|
Revision: 3839 http://bigdata.svn.sourceforge.net/bigdata/?rev=3839&view=rev Author: thompsonbry Date: 2010-10-22 19:47:04 +0000 (Fri, 22 Oct 2010) Log Message: ----------- javadoc edit Modified Paths: -------------- branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/accesspath/MultiSourceSequentialAsynchronousIterator.java Modified: branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/accesspath/MultiSourceSequentialAsynchronousIterator.java =================================================================== --- branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/accesspath/MultiSourceSequentialAsynchronousIterator.java 2010-10-22 19:45:33 UTC (rev 3838) +++ branches/QUADS_QUERY_BRANCH/bigdata/src/java/com/bigdata/relation/accesspath/MultiSourceSequentialAsynchronousIterator.java 2010-10-22 19:47:04 UTC (rev 3839) @@ -133,6 +133,14 @@ } } + /** + * {@inheritDoc} + * + * @todo Due to the inherent non-atomicity of the while(hasNext()) next() + * idiom, it is possible for {@link #hasNext()} to report true and for + * {@link #next()} to throw {@link NoSuchElementException} if the + * iterator has been concurrently closed. + */ public E next() { while (true) { final IAsynchronousIterator<E> tmp = nextSource(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |