You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by si...@apache.org on 2007/02/21 20:49:56 UTC

svn commit: r510172 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java

Author: sichen
Date: Wed Feb 21 11:49:56 2007
New Revision: 510172

URL: http://svn.apache.org/viewvc?view=rev&rev=510172
Log:
Patch from Stefan Huehner to avoid a null result.  OFBIZ-730

Modified:
    ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java

Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java?view=diff&rev=510172&r1=510171&r2=510172
==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/ContentManagementServices.java Wed Feb 21 11:49:56 2007
@@ -1312,7 +1312,7 @@
     }
 
     public static Map findSubNodes(DispatchContext dctx, Map context) throws GenericServiceException{
-        Map results = null;
+        Map results = new HashMap();
         GenericDelegator delegator = dctx.getDelegator();
         String contentIdTo = (String)context.get("contentId");
         List condList = new ArrayList();