commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r822430 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/InMemoryConfigurationSource.java
Date Tue, 06 Oct 2009 18:58:47 GMT
Author: oheger
Date: Tue Oct  6 18:58:47 2009
New Revision: 822430

URL: http://svn.apache.org/viewvc?rev=822430&view=rev
Log:
InMemoryConfigurationSource now extends AbstractConfigurationSource.

Modified:
    commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/InMemoryConfigurationSource.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/InMemoryConfigurationSource.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/InMemoryConfigurationSource.java?rev=822430&r1=822429&r2=822430&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/InMemoryConfigurationSource.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/InMemoryConfigurationSource.java
Tue Oct  6 18:58:47 2009
@@ -36,8 +36,8 @@
  * @author Commons Configuration team
  * @version $Id$
  */
-public class InMemoryConfigurationSource implements
-        HierarchicalConfigurationSource<ConfigurationNode>
+public class InMemoryConfigurationSource extends AbstractConfigurationSource
+        implements HierarchicalConfigurationSource<ConfigurationNode>
 {
     /**
      * The node handler used by this configuration source class. Because {@code
@@ -85,12 +85,6 @@
         rootNode = root;
     }
 
-    public void addConfigurationSourceListener(ConfigurationSourceListener l)
-    {
-        // TODO Auto-generated method stub
-        throw new UnsupportedOperationException("Not yet implemented!");
-    }
-
     /**
      * Removes all data from this configuration source. This implementation
      * simply creates a new, empty root node.
@@ -109,17 +103,4 @@
     {
         return NODE_HANDLER;
     }
-
-    public boolean removeConfigurationSourceListener(
-            ConfigurationSourceListener l)
-    {
-        // TODO Auto-generated method stub
-        throw new UnsupportedOperationException("Not yet implemented!");
-    }
-
-    public <T> T getCapability(Class<T> cls)
-    {
-        // TODO Auto-generated method stub
-        throw new UnsupportedOperationException("Not yet implemented!");
-    }
 }



Mime
View raw message