[ https://issues.apache.org/jira/browse/CONFIGURATION-693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16415966#comment-16415966 ]
Lars W commented on CONFIGURATION-693: -------------------------------------- Yes, you _could_ do that. But if the value already is a file, it would be unnecessarily converted to a Path and then back to a File. Also the exception message would have to be more general to fit for both, Path and File. But then, this should have also been done with the URI/URL and some number conversions. > Conversion to File is missing > ----------------------------- > > Key: CONFIGURATION-693 > URL: https://issues.apache.org/jira/browse/CONFIGURATION-693 > Project: Commons Configuration > Issue Type: Improvement > Components: Type conversion > Affects Versions: 2.2 > Reporter: Lars W > Priority: Major > Attachments: Converter.patch.txt, Converter.patch.txt > > > PropertyConverter.java misses type conversion to File although a string could > be easily converted to a File. -- This message was sent by Atlassian JIRA (v7.6.3#76005)