[jira] Created: (OFBIZ-785) Add isEmpty() and isNotEmpty() utility methods for Maps

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

[jira] Created: (OFBIZ-785) Add isEmpty() and isNotEmpty() utility methods for Maps

Nicolas Malin (Jira)
Add isEmpty() and isNotEmpty() utility methods for Maps
-------------------------------------------------------

                 Key: OFBIZ-785
                 URL: https://issues.apache.org/jira/browse/OFBIZ-785
             Project: OFBiz (The Open for Business Project)
          Issue Type: Improvement
    Affects Versions: SVN trunk
            Reporter: Joe Eckard
            Priority: Trivial
             Fix For: SVN trunk


Adds two new methods to UtilValidate: isEmpty(Map m) and isNotEmpty(Map m)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (OFBIZ-785) Add isEmpty() and isNotEmpty() utility methods for Maps

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Joe Eckard updated OFBIZ-785:
-----------------------------

    Attachment: UtilValidate.patch

> Add isEmpty() and isNotEmpty() utility methods for Maps
> -------------------------------------------------------
>
>                 Key: OFBIZ-785
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-785
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: UtilValidate.patch
>
>
> Adds two new methods to UtilValidate: isEmpty(Map m) and isNotEmpty(Map m)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Closed: (OFBIZ-785) Add isEmpty() and isNotEmpty() utility methods for Maps

Nicolas Malin (Jira)
In reply to this post by Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David E. Jones closed OFBIZ-785.
--------------------------------

    Resolution: Fixed
      Assignee: David E. Jones

Rather than adding these Map specific ones, I added an isNotEmpty(Object) one to go along with the isEmpty(Object) one and those will do the same thing as these Map specific ones. This change is in SVN rev 515877.

> Add isEmpty() and isNotEmpty() utility methods for Maps
> -------------------------------------------------------
>
>                 Key: OFBIZ-785
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-785
>             Project: OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Joe Eckard
>         Assigned To: David E. Jones
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: UtilValidate.patch
>
>
> Adds two new methods to UtilValidate: isEmpty(Map m) and isNotEmpty(Map m)

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.