You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Oliver Heger (JIRA)" <ji...@apache.org> on 2018/03/24 19:37:00 UTC

[jira] [Commented] (CONFIGURATION-693) Conversion to File is missing

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

Oliver Heger commented on CONFIGURATION-693:
--------------------------------------------

Many thanks, this looks useful. In addition to File, we may also want to support conversions to Path objects, which is probably the preferred option on Java 1.7+.

Also, is there any chance you could provide a unit test? New features to be added require corresponding unit tests.

> 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
>
>
> 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)