On Wed, Dec 21, 2011 at 12:11 AM, Jean-Pierre Bergamin <jpberga...@gmail.com> wrote: > I created an issue for that: https://github.com/neo4j/community/issues/141
I was bitten by IndexHits implementing Iterable myself yesterday, and also agree that it's bad. But it's not the only one. A quick search through community source shows the following classes with this issue: PatternFinder RelIterator (which creates a copy of itself on iterator()) IntArrayIterator RelationshipArrayIntSetIterator (also creates copy on iterator()) OldTraverserWrapper.TraverserImpl ArrayIntSet.ArrayIntIterator PagedTraverser Maybe IndexHits could be fixed first, as it seems the main one that is used externally, and then the others could either be fixed, or Iterable removed. /Rickard _______________________________________________ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS, please register and consider posting at https://groups.google.com/forum/#!forum/neo4j Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user