commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r821161 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/SubConfiguration.java
Date Fri, 02 Oct 2009 20:33:23 GMT
Author: oheger
Date: Fri Oct  2 20:33:22 2009
New Revision: 821161

URL: http://svn.apache.org/viewvc?rev=821161&view=rev
Log:
Javadocs and formatting.

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

Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/SubConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/SubConfiguration.java?rev=821161&r1=821160&r2=821161&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/SubConfiguration.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/base/SubConfiguration.java
Fri Oct  2 20:33:22 2009
@@ -104,7 +104,8 @@
  * @author Commons Configuration team
  * @version $Id$
  */
-public class SubConfiguration<T> extends ConfigurationImpl<T> implements HierarchicalConfigurationSource<T>
+public class SubConfiguration<T> extends ConfigurationImpl<T> implements
+        HierarchicalConfigurationSource<T>
 {
     /** Stores the parent configuration. */
     private ConfigurationImpl<T> parent;
@@ -224,6 +225,7 @@
     /**
      * Dummy implementation of this {@code HierarchicalConfigurationSource}
      * method. Event listeners are not supported by this implementation.
+     *
      * @param l the listener to be added
      */
     public void addConfigurationSourceListener(ConfigurationSourceListener l)
@@ -234,6 +236,7 @@
     /**
      * Dummy implementation of this {@code HierarchicalConfigurationSource}
      * method. Event listeners are not supported by this implementation.
+     *
      * @param l the listener to be removed
      */
     public boolean removeConfigurationSourceListener(
@@ -245,6 +248,7 @@
     /**
      * Dummy implementation of this {@code HierarchicalConfigurationSource}
      * method. It is not supported to set a different root node.
+     *
      * @param root the new root node
      */
     public void setRootNode(T root)
@@ -254,7 +258,10 @@
 
     /**
      * Returns the underlying {@code HierarchicalConfigurationSource}. This
-     * configuration acts as its own configuration source.
+     * configuration acts as its own configuration source. This trick makes it
+     * possible to let the {@code SubConfiguration} operate on its own root
+     * node.
+     *
      * @return the associated {@code HierarchicalConfigurationSource}
      */
     @Override
@@ -266,6 +273,7 @@
     /**
      * Returns the {@code NodeHandler} for this configuration. This handler is
      * obtained from the parent.
+     *
      * @return the {@code NodeHandler} for this configuration
      */
     @Override



Mime
View raw message