You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2019/11/04 20:03:00 UTC

[jira] [Created] (MYFACES-4308) Remove common-beanutils

Thomas Andraschko created MYFACES-4308:
------------------------------------------

             Summary: Remove common-beanutils
                 Key: MYFACES-4308
                 URL: https://issues.apache.org/jira/browse/MYFACES-4308
             Project: MyFaces Core
          Issue Type: Improvement
    Affects Versions: 3.0.0-SNAPSHOT
            Reporter: Thomas Andraschko
            Assignee: Thomas Andraschko


Only BeanUtils#setProperty is used, i think we can easily reimplement it.
Its only
- get the property of the target class
- convert the a string value to the target type (only value types are allowed here!)
- set the property
- and a small property cache

should be ~300 lines of code vs a 250kb lib and dependency.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)