Some cleaning related to isEmpty
* remove duplicate () * remove casts no longer needed I'm doing these last tasks around isEmpty and isNotEmpty mostly to be sure that nothing has slipped in. Despite I have been very careful, I prefer double check. + one typo in ofbizSelenium help (not sure this file is used yet though, seems to be missing some parts which are commented out, for now I guess) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@885093 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -311,9 +311,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((Collection<?>) result.get("valuesToCreate")) ||
|
||||
!UtilValidate.isEmpty((Collection<?>) result.get("valuesToStore")) ||
|
||||
!UtilValidate.isEmpty((Collection<?>) result.get("keysToRemove")))) {
|
||||
if (startDate != null && (!UtilValidate.isEmpty(result.get("valuesToCreate")) ||
|
||||
!UtilValidate.isEmpty(result.get("valuesToStore")) ||
|
||||
!UtilValidate.isEmpty(result.get("keysToRemove")))) {
|
||||
|
||||
// yep, we got more data
|
||||
gotMoreData = true;
|
||||
|
||||
Reference in New Issue
Block a user