camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-2642) Inconsistency between IntrospectionSupport.getProperties() and IntrospectionSupport.getProperty()
Date Thu, 15 Apr 2010 07:15:44 GMT

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

Claus Ibsen updated CAMEL-2642:
-------------------------------

    Fix Version/s: Future
                       (was: 2.3.0)
         Priority: Minor  (was: Major)

> Inconsistency between IntrospectionSupport.getProperties() and IntrospectionSupport.getProperty()
> -------------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-2642
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-2642
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 2.3.0
>         Environment: All
>            Reporter: Christian Mueller
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: Future
>
>         Attachments: camel-core-unit-test.patch
>
>
> IntrospectionSupport.getProperties() and IntrospectionSupport.getProperty() work in an
inconsistency way:
> {code}
> ExampleBean bean = new ExampleBean();
> Date date = new Date(0);
> bean.setDate(date);
> assertSame(date, IntrospectionSupport.getProperty(bean, "date")); // succeed
> Map<String, Object> map = new HashMap<String, Object>();
> IntrospectionSupport.getProperties(bean, map, null);
> assertSame(date, map.get("date")); // fails
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message