You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Jean-Baptiste Onofré (Jira)" <ji...@apache.org> on 2019/11/10 07:03:00 UTC

[jira] [Updated] (FELIX-6183) TypedProperties doesn't deal with Integer correctly

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

Jean-Baptiste Onofré updated FELIX-6183:
----------------------------------------
    Fix Version/s: utils-1.11.4

> TypedProperties doesn't deal with Integer correctly
> ---------------------------------------------------
>
>                 Key: FELIX-6183
>                 URL: https://issues.apache.org/jira/browse/FELIX-6183
>             Project: Felix
>          Issue Type: Bug
>          Components: Utils
>    Affects Versions: utils-1.11.2
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: utils-1.11.4
>
>
> The simple following code:
> {code}
>         TypedProperties typedProperties = new TypedProperties();
>         typedProperties.put("sshPort", 9999);
>         typedProperties.save(new File("/home/jbonofre/test.properties"));
> {code}
> shows value stored as {{I'9999"}} instead of {{"9999"}} or even {{9999}}.



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