You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2012/01/22 17:32:40 UTC
svn commit: r1234545 -
/commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_filebased.xml
Author: oheger
Date: Sun Jan 22 16:32:40 2012
New Revision: 1234545
URL: http://svn.apache.org/viewvc?rev=1234545&view=rev
Log:
Added missing quotation marks.
Modified:
commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_filebased.xml
Modified: commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_filebased.xml
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_filebased.xml?rev=1234545&r1=1234544&r2=1234545&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_filebased.xml (original)
+++ commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_filebased.xml Sun Jan 22 16:32:40 2012
@@ -138,7 +138,7 @@
</p>
<source>
PropertiesConfiguration config = new PropertiesConfiguration("usergui.properties");
-config.setProperty("colors.background", "#000000);
+config.setProperty("colors.background", "#000000");
config.save();
</source>
<p>
@@ -146,7 +146,7 @@ config.save();
</p>
<source>
PropertiesConfiguration config = new PropertiesConfiguration("usergui.properties");
-config.setProperty("colors.background", "#000000);
+config.setProperty("colors.background", "#000000");
config.save("usergui.backup.properties);
</source>
</subsection>
@@ -161,7 +161,7 @@ config.save("usergui.backup.properties);
<source>
PropertiesConfiguration config = new PropertiesConfiguration("usergui.properties");
config.setAutoSave(true);
-config.setProperty("colors.background", "#000000); // the configuration is saved after this call
+config.setProperty("colors.background", "#000000"); // the configuration is saved after this call
</source>
<p>
Be careful with this mode when you have many updates on your