[ https://issues.apache.org/jira/browse/FELIX-6183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jean-Baptiste Onofré resolved FELIX-6183. ----------------------------------------- Fix Version/s: (was: utils-1.11.4) Resolution: Fixed That's actually the expected behavior as {{TypedProperties}} define type for any property. > 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 > > 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)