Author: bibryam
Date: Sat May 10 01:44:04 2008
New Revision: 655029
URL:
http://svn.apache.org/viewvc?rev=655029&view=revLog:
Fix an error.
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java?rev=655029&r1=655028&r2=655029&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java Sat May 10 01:44:04 2008
@@ -26,6 +26,7 @@
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
+import java.util.Set;
import java.util.Locale;
import java.util.Map;
@@ -173,7 +174,7 @@
EntityConditionList conditionList = new EntityConditionList(exprList, EntityOperator.AND);
String [] fields = {"rootRevisionContentId", "itemContentId", "maxRevisionSeqId", "contentId", "dataResourceId", "contentIdTo", "contentAssocTypeId", "fromDate", "sequenceNum"};
- List selectFields = UtilMisc.toListArray(fields);
+ Set selectFields = UtilMisc.toSetArray(fields);
List orderByFields = UtilMisc.toList("sequenceNum");
List compDocParts = delegator.findList("ContentAssocRevisionItemView", conditionList, selectFields, orderByFields, null, false);