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:
Jacques Le Roux
2009-11-28 14:08:16 +00:00
parent 2777b83223
commit 569a4afeea
8 changed files with 13 additions and 13 deletions
@@ -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;