commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1700567 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/ReloadingFileBasedConfigurationBuilder.java
Date Tue, 01 Sep 2015 14:24:09 GMT
Author: oheger
Date: Tue Sep  1 14:24:09 2015
New Revision: 1700567

URL: http://svn.apache.org/r1700567
Log:
[CONFIGURATION-608] Changed return type of configure() method.

ReloadingFileBasedConfigurationBuilder.configure() now returns the correct
builder type so that method chaining is possible without the need to cast the
result.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/ReloadingFileBasedConfigurationBuilder.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/ReloadingFileBasedConfigurationBuilder.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/ReloadingFileBasedConfigurationBuilder.java?rev=1700567&r1=1700566&r2=1700567&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/ReloadingFileBasedConfigurationBuilder.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/builder/ReloadingFileBasedConfigurationBuilder.java
Tue Sep  1 14:24:09 2015
@@ -142,7 +142,7 @@ public class ReloadingFileBasedConfigura
      * {@inheritDoc} This method is overridden here to change the result type.
      */
     @Override
-    public FileBasedConfigurationBuilder<T> configure(
+    public ReloadingFileBasedConfigurationBuilder<T> configure(
             BuilderParameters... params)
     {
         super.configure(params);



Mime
View raw message