-
Bug
-
Resolution: Done
-
Blocker
-
3.6.0.Final
-
None
Same method is used to get strongReferences and weakReferences on org.modeshape.jcr.AbstractJcrNode.getAllReferences().
Here is the code:
protected PropertyIterator getAllReferences() throws RepositoryException { List<javax.jcr.Property> allReferences = new ArrayList<javax.jcr.Property>(); for (PropertyIterator strongRefIterator = *getReferences()*; strongRefIterator.hasNext();) { allReferences.add(strongRefIterator.nextProperty()); } for (PropertyIterator weakRefIterator = *getReferences()*; weakRefIterator.hasNext();) { allReferences.add(weakRefIterator.nextProperty()); } return new JcrPropertyIterator(allReferences); }