[jboss-cvs] JBossCache/src-50/org/jboss/cache/pojo/collection ...

Manik Surtani msurtani at jboss.com
Tue Jan 9 22:55:41 EST 2007


  User: msurtani
  Date: 07/01/09 22:55:41

  Modified:    src-50/org/jboss/cache/pojo/collection  CachedSetImpl.java
  Log:
  fixed some api issues
  
  Revision  Changes    Path
  1.18      +2 -1      JBossCache/src-50/org/jboss/cache/pojo/collection/CachedSetImpl.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: CachedSetImpl.java
  ===================================================================
  RCS file: /cvsroot/jboss/JBossCache/src-50/org/jboss/cache/pojo/collection/CachedSetImpl.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -b -r1.17 -r1.18
  --- CachedSetImpl.java	4 Jan 2007 05:35:42 -0000	1.17
  +++ CachedSetImpl.java	10 Jan 2007 03:55:41 -0000	1.18
  @@ -21,6 +21,7 @@
   import java.util.AbstractSet;
   import java.util.Collection;
   import java.util.Collections;
  +import java.util.HashSet;
   import java.util.Iterator;
   import java.util.Set;
   
  @@ -236,7 +237,7 @@
   
         private IteratorImpl(Node node)
         {
  -         Collection<NodeSPI> children = ((NodeSPI) node).getChildrenDirect();
  +         Collection<NodeSPI> children = new HashSet<NodeSPI>(((NodeSPI) node).getChildrenDirect());
            iterator = children.iterator();
         }
   
  
  
  



More information about the jboss-cvs-commits mailing list