Author: ashish
Date: Mon Dec 22 05:04:18 2014
New Revision: 1647239
URL:
http://svn.apache.org/r1647239Log:
Based on Adrian's comment on Dev list removing the ternary operator check which was not needed actually.
Modified:
ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java
Modified: ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java?rev=1647239&r1=1647238&r2=1647239&view=diff==============================================================================
--- ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java (original)
+++ ofbiz/trunk/framework/common/src/org/ofbiz/common/FindServices.java Mon Dec 22 05:04:18 2014
@@ -603,7 +603,7 @@ public class FindServices {
EntityConditionList<EntityCondition> entityConditionList = UtilGenerics.cast(context.get("entityConditionList"));
List<String> orderByList = checkList(context.get("orderByList"), String.class);
boolean noConditionFind = "Y".equals(context.get("noConditionFind"));
- boolean distinct = "Y".equals(context.get("distinct"))? true : false;
+ boolean distinct = "Y".equals(context.get("distinct"));
List<String> fieldList = UtilGenerics.checkList(context.get("fieldList"));
Locale locale = (Locale) context.get("locale");
Set<String> fieldSet = null;