Improve comments
authorMathieu Baudier <mbaudier@argeo.org>
Thu, 9 Feb 2012 09:43:02 +0000 (09:43 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Thu, 9 Feb 2012 09:43:02 +0000 (09:43 +0000)
git-svn-id: https://svn.argeo.org/commons/trunk@5026 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

eclipse/runtime/org.argeo.eclipse.ui.jcr/src/main/java/org/argeo/eclipse/ui/jcr/utils/JcrItemsComparator.java
eclipse/runtime/org.argeo.eclipse.ui.jcr/src/main/java/org/argeo/eclipse/ui/jcr/utils/NodeViewerComparer.java

index 5e6f911e9f458e0ea19c17af1ffd744f4b8cfe6f..cef155f168fc8087a09929a85c2742e6ef3a5827 100644 (file)
@@ -7,6 +7,7 @@ import javax.jcr.RepositoryException;
 
 import org.argeo.ArgeoException;
 
+/** Compares two JCR items (node or properties) based on their names. */
 public class JcrItemsComparator implements Comparator<Item> {
        public int compare(Item o1, Item o2) {
                try {
index 63463d2f41500603d3dd052fbbf7653871d25d0a..f90d99592aea2b6a40da6977ea72d673f894383b 100644 (file)
@@ -6,6 +6,7 @@ import javax.jcr.RepositoryException;
 import org.argeo.ArgeoException;
 import org.eclipse.jface.viewers.IElementComparer;
 
+/** Compare JCR nodes based on their JCR identifiers, for use in JFace viewers. */
 public class NodeViewerComparer implements IElementComparer {
 
        // force comparison on Node IDs only.