You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2015/04/18 15:15:07 UTC

svn commit: r1674503 - /ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy

Author: deepak
Date: Sat Apr 18 13:15:07 2015
New Revision: 1674503

URL: http://svn.apache.org/r1674503
Log:
Fixed broken CategroyTree.groovy, fixed incorrect map assignment, also found unused variable so removed it.

Modified:
    ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy

Modified: ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy?rev=1674503&r1=1674502&r2=1674503&view=diff
==============================================================================
--- ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy (original)
+++ ofbiz/trunk/applications/humanres/webapp/humanres/WEB-INF/actions/category/CategoryTree.groovy Sat Apr 18 13:15:07 2015
@@ -35,7 +35,6 @@ import java.util.List;
 
 completedTree =  [];
 completedTreeContext = [];
-existParties = [];
 subtopLists = [];
 
 //internalOrg list
@@ -43,7 +42,7 @@ partyRelationships = from("PartyRelation
 if (partyRelationships) {
     //root
     partyRoot = from("PartyGroup").where("partyId", partyId).queryOne();
-    partyRootMap = [];
+    partyRootMap = [:];
     partyRootMap.put("partyId", partyId);
     partyRootMap.put("groupName", partyRoot.getString("groupName"));