]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui/src/main/java/org/argeo/slc/client/ui/model/ResultFolder.java
Fix SWT resource leak
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui / src / main / java / org / argeo / slc / client / ui / model / ResultFolder.java
index 8abae3f771dd409db938e6f1137e8e3d309379ae..429dcedd55dd51e1c6db0ecb2d2c780ad9549bf4 100644 (file)
@@ -25,8 +25,7 @@ import org.argeo.slc.jcr.SlcNames;
  * UI Tree component that wrap a node of type ResultFolder. list either other
  * folders and/or a list of results. keeps a reference to its parent.
  */
-public class ResultFolder extends ParentNodeFolder implements
-               Comparable<ResultFolder> {
+public class ResultFolder extends ParentNodeFolder {
 
        /**
         * 
@@ -49,15 +48,15 @@ public class ResultFolder extends ParentNodeFolder implements
                }
        }
 
-       /**
-        * Overriden to return an ordered list of children
-        */
-       public synchronized Object[] getChildren() {
-               Object[] children = super.getChildren();
-               return ResultParentUtils.orderChildren(children);
-       }
-
-       public int compareTo(ResultFolder o) {
-               return super.compareTo(o);
-       }
+       // /**
+       // * Overriden to return an ordered list of children
+       // */
+       // public synchronized Object[] getChildren() {
+       // Object[] children = super.getChildren();
+       // return ResultParentUtils.orderChildren(children);
+       // }
+       //
+       // public int compareTo(ResultFolder o) {
+       // return super.compareTo(o);
+       // }
 }
\ No newline at end of file