You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Mathieu Lirzin (JIRA)" <ji...@apache.org> on 2018/05/25 08:34:00 UTC

[jira] [Commented] (OFBIZ-10412) Remove `UtilValidate::isEmpty(String)` method

    [ https://issues.apache.org/jira/browse/OFBIZ-10412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16490414#comment-16490414 ] 

Mathieu Lirzin commented on OFBIZ-10412:
----------------------------------------

Thanks Jacques

> Remove `UtilValidate::isEmpty(String)` method
> ---------------------------------------------
>
>                 Key: OFBIZ-10412
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10412
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: base
>    Affects Versions: Trunk
>            Reporter: Mathieu Lirzin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>
>         Attachments: OFBIZ-10412-remove-isEmpty-for-strings.patch
>
>
> UtilValidate class contains a `isEmpty` method both for `CharSequence` and for `String` types but since the first is an interface for the other and that the implementation are the same we don't need to keep the one for the concrete type.
> Additionnaly I have removed the unused Generic type for the remaining implementation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)