Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6
-
None
Description
It seems that a key containing the escapedDelimiter is stored without the delimiter and the escape is not recreated when saving the configuration.
test.java
HierarchicalINIConfiguration inicfg = new HierarchicalINIConfiguration(); inicfg.setProperty( "Andrew L.. Cooper.first", "Andrew" ); inicfg.setProperty( "Andrew L.. Cooper.last", "Cooper" ); inicfg.setProperty( "Andrew L.. Cooper.mail", "andrew.cooper@example.com" ); inicfg.save( System.out ); System.out.println( inicfg.get( "Andrew L..Cooper.mail" );
Expected Output
[Andrew L. Cooper] first = Andrew last = Cooper mail = andrew.cooper@example.com andrew.cooper@example.com
Actual Output
[Andrew L. Cooper] andrew.cooper@example.com