commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Geisler (JIRA) <>
Subject [jira] Created: (CONFIGURATION-329) Auto saving does not work
Date Wed, 28 May 2008 11:15:46 GMT
Auto saving does not work

                 Key: CONFIGURATION-329
             Project: Commons Configuration
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: Debian Etch i386, Java 1.6
            Reporter: André Geisler

PropertiesConfiguration does not auto save the properties file under the following circumstances:

File before:

PropertiesConfiguration conf2 = new PropertiesConfiguration();
            conf2.load(new File(""));
            System.out.println("Conf2: Before changing value:" + conf2.getProperty("key"));
            conf2.setProperty("key", "test2after");
            System.out.println("Conf2: After changing value:" + conf2.getProperty("key"));

File after:

If you use the contrcutor PropertiesConfigurator(File file); everything is fine!

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message