ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-4427) Runtime errors with UtilValidate.isEmpty(Object) and IsNotEmpty should be caught during compilation
Date Sun, 04 Dec 2016 08:03:58 GMT

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

Jacques Le Roux commented on OFBIZ-4427:
----------------------------------------

Sounds good, looking forward :)

> Runtime errors with UtilValidate.isEmpty(Object) and IsNotEmpty should be caught during
compilation
> ---------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-4427
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4427
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Paul Foxworthy
>            Priority: Minor
>              Labels: UtilValidate.isEmpty
>         Attachments: OFBIZ-4427.patch, OFBIZ-4427_isEmpty.patch
>
>
> Hence we need to remove the UtilValidate.isEmpty(Object) method and provide methods that
accept explicit types.  
> Adrian then (http://markmail.org/message/37rtrnulhmyzxfoo) suggested that 
> bq. Scripting languages should use a facade class that provides methods for working with
generic Objects or providing default behaviors.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message