[Tree Extension] ADTreeDatasourceService no longer references ADTreeType
authorAugusto Mauch <augusto.mauch@openbravo.com>
Thu, 20 Feb 2014 12:54:30 +0100
changeset 22519 4ab1de66cb2a
parent 22518 3e3b0ea6d912
child 22520 4e9a1d45f3b0
[Tree Extension] ADTreeDatasourceService no longer references ADTreeType
modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java
--- a/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java	Thu Feb 20 12:42:24 2014 +0100
+++ b/modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/ADTreeDatasourceService.java	Thu Feb 20 12:54:30 2014 +0100
@@ -50,7 +50,6 @@
 import org.openbravo.model.ad.domain.ReferencedTreeField;
 import org.openbravo.model.ad.system.Client;
 import org.openbravo.model.ad.ui.Tab;
-import org.openbravo.model.ad.utility.ADTreeType;
 import org.openbravo.model.ad.utility.TableTree;
 import org.openbravo.model.ad.utility.Tree;
 import org.openbravo.model.ad.utility.TreeNode;
@@ -383,8 +382,7 @@
       return false;
     } else {
       TableTree tableTree = tableTreeList.get(0);
-      ADTreeType treeType = tableTree.getTreeCategory();
-      return treeType.isOrdered();
+      return tableTree.isOrdered();
     }
   }