You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2011/01/23 17:54:34 UTC

svn commit: r1062468 - /incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/CollectedIter.scala

Author: reto
Date: Sun Jan 23 16:54:33 2011
New Revision: 1062468

URL: http://svn.apache.org/viewvc?rev=1062468&view=rev
Log:
reviewed Henry's class comment

Modified:
    incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/CollectedIter.scala

Modified: incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/CollectedIter.scala
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/CollectedIter.scala?rev=1062468&r1=1062467&r2=1062468&view=diff
==============================================================================
--- incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/CollectedIter.scala (original)
+++ incubator/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.rdf.scala.utils/src/main/scala/org/apache/clerezza/rdf/scala/utils/CollectedIter.scala Sun Jan 23 16:54:33 2011
@@ -27,13 +27,13 @@ import _root_.scala.collection.JavaConve
 import java.util.concurrent.locks.Lock
 
 /**
- * (initial a posteriori documentation by bblfish. Please verify, then remove this line if correct)
  * 
  * A Collection that groups the elements of an iterator, giving a view over it as over a
  * sequence. 
  * 
  * The collection takes a function returning an iterator, in order to allow for cases where the
- * iterator needs to be called from the beginning again - see the exception.
+ * iterator needs to be called from the beginning again. i.e. when a ConcurrentModificationException
+ * occurs and the iteration is repeated in a section used using the provided readLock.
  */
 class CollectedIter[T](iterCreator: () => Iterator[T], readLock: Lock) extends immutable.Seq[T] {