commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r708672 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/web/BaseWebConfiguration.java
Date Tue, 28 Oct 2008 21:14:45 GMT
Author: oheger
Date: Tue Oct 28 14:14:45 2008
New Revision: 708672

URL: http://svn.apache.org/viewvc?rev=708672&view=rev
Log:
Let BaseWebConfiguration extend AbstractFlatConfiguration rather than AbstractConfiguration.

Modified:
    commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/web/BaseWebConfiguration.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/web/BaseWebConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/web/BaseWebConfiguration.java?rev=708672&r1=708671&r2=708672&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/web/BaseWebConfiguration.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/web/BaseWebConfiguration.java
Tue Oct 28 14:14:45 2008
@@ -19,8 +19,8 @@
 
 import java.util.List;
 
-import org.apache.commons.configuration2.AbstractConfiguration;
 import org.apache.commons.configuration2.PropertyConverter;
+import org.apache.commons.configuration2.flat.AbstractFlatConfiguration;
 
 /**
  * <p>
@@ -36,7 +36,7 @@
  * @version $Id$
  * @since 1.2
  */
-abstract class BaseWebConfiguration extends AbstractConfiguration
+abstract class BaseWebConfiguration extends AbstractFlatConfiguration
 {
     /**
      * Checks if this configuration is empty. This implementation makes use of
@@ -69,6 +69,7 @@
      * @throws UnsupportedOperationException because this operation is not
      * allowed
      */
+    @Override
     public void clearProperty(String key)
     {
         throw new UnsupportedOperationException("Read only configuration");
@@ -83,6 +84,7 @@
      * @throws UnsupportedOperationException because this operation is not
      * allowed
      */
+    @Override
     protected void addPropertyDirect(String key, Object obj)
     {
         throw new UnsupportedOperationException("Read only configuration");



Mime
View raw message