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

Thomas Andraschko commented on MYFACES-4135:
--------------------------------------------

[~deki] WDYT? Should we also move away from beanutils? I think the change is 
quite easy.

We only have 2 cases:
- BeanUtils.setProperty(converter, property.getPropertyName(), 
property.getDefaultValue());
  This can be replaced with ~100 lines of code. The only additional thing is 
that we need to convert the string to other primitives.
- PropertyUtils.isReadable(bean, property.getPropertyName()
  I think this can be replaced with 5 lines of code , probably we already have 
such a util. It's just a little bit reflection.


> Use Java8 instead of commons
> ----------------------------
>
>                 Key: MYFACES-4135
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4135
>             Project: MyFaces Core
>          Issue Type: Improvement
>            Reporter: Thomas Andraschko
>            Assignee: Thomas Andraschko
>            Priority: Minor
>             Fix For: 2.3.0
>
>
> e.g. Base64 - will check other used parts
> Collections:
> * EmptyIterator (/)
> * LRUMap (/)
> * CollectionUtils.filter (/)
> * Predicate (/)
> Coded: (/)
> * Hex (Could be replaced by javax/xml/bind/DatatypeConverter) (/)
> * DecoderException (/)
> * Base64 (/)
> Digester:
> * Digester (x)
> BeanUtils:
> * BeanUtils (x)
> * PropertyUtils (x)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to