Re: svn commit: r655029 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r655029 - /ofbiz/trunk/applications/content/src/org/ofbiz/content/compdoc/CompDocServices.java

Scott Gray
Thanks Bilgin, I only just noticed that myself.

Regards
Scott

2008/5/10 <[hidden email]>:

> Author: bibryam
> Date: Sat May 10 01:44:04 2008
> New Revision: 655029
>
> URL: http://svn.apache.org/viewvc?rev=655029&view=rev
> Log:
> 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);
>
>
>
>