DataConfiguration.get() cannot handle a trivial conversion
----------------------------------------------------------
Key: CONFIGURATION-487
URL: https://issues.apache.org/jira/browse/CONFIGURATION-487
Project: Commons Configuration
Issue Type: Bug
Components: Type conversion
Affects Versions: 1.8
Reporter: Oliver Heger
A call to {{DataConfiguration.get()}} eventually invokes the
{{PropertyConverter.to()}} method. Here a number of supported data types are
checked and corresponding conversions are done.
However, the case that the value does not need to be converted at all - because
it already has the expected type - is not taken into account. This is
especially a problem for string values: there is not conversion to string, so
the get() method fails even if the value is already a string.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira