Improved: UtilValidate isEmpty and isNotEmpty methods not used correctly
(OFBIZ-8413) Thanks Pawan Verma for your contribution. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1766868 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
+3
-3
@@ -317,9 +317,9 @@ public class EntitySyncServices {
|
||||
// store data returned, get results (just call storeEntitySyncData locally, get the numbers back and boom shakalaka)
|
||||
|
||||
// anything to store locally?
|
||||
if (startDate != null && (!UtilValidate.isEmpty(result.get("valuesToCreate")) ||
|
||||
!UtilValidate.isEmpty(result.get("valuesToStore")) ||
|
||||
!UtilValidate.isEmpty(result.get("keysToRemove")))) {
|
||||
if (startDate != null && (UtilValidate.isNotEmpty(result.get("valuesToCreate")) ||
|
||||
UtilValidate.isNotEmpty(result.get("valuesToStore")) ||
|
||||
UtilValidate.isNotEmpty(result.get("keysToRemove")))) {
|
||||
|
||||
// yep, we got more data
|
||||
gotMoreData = true;
|
||||
|
||||
Reference in New Issue
Block a user