commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1715284 - /commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_properties.xml
Date Thu, 19 Nov 2015 21:27:34 GMT
Author: oheger
Date: Thu Nov 19 21:27:34 2015
New Revision: 1715284

URL: http://svn.apache.org/viewvc?rev=1715284&view=rev
Log:
[CONFIGURATION-610] Fixed examples in user guide for PropertiesConfiguration.

In these examples an incorrect generic type was used for configuration
builders.

Modified:
    commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_properties.xml

Modified: commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_properties.xml
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_properties.xml?rev=1715284&r1=1715283&r2=1715284&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_properties.xml (original)
+++ commons/proper/configuration/trunk/src/site/xdoc/userguide/howto_properties.xml Thu Nov
19 21:27:34 2015
@@ -60,8 +60,8 @@ window.height = 300
         </p>
         <source><![CDATA[
 Parameters params = new Parameters();
-FileBasedConfigurationBuilder<Configuration> builder =
-    new FileBasedConfigurationBuilder<Configuration>(PropertiesConfiguration.class)
+FileBasedConfigurationBuilder<FileBasedConfiguration> builder =
+    new FileBasedConfigurationBuilder<FileBasedConfiguration>(PropertiesConfiguration.class)
     .configure(params.properties()
         .setFileName("usergui.properties"));
 try
@@ -177,8 +177,8 @@ colors.pie = #0000FF;
         </p>
         <source><![CDATA[
 Parameters params = new Parameters();
-FileBasedConfigurationBuilder<Configuration> builder =
-    new FileBasedConfigurationBuilder<Configuration>(PropertiesConfiguration.class)
+FileBasedConfigurationBuilder<FileBasedConfiguration> builder =
+    new FileBasedConfigurationBuilder<FileBasedConfiguration>(PropertiesConfiguration.class)
     .configure(params.properties()
         .setFileName("usergui.properties")
         .setListDelimiterHandler(new DefaultListDelimiterHandler(','));



Mime
View raw message