Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 64495 invoked from network); 2 Oct 2009 20:33:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Oct 2009 20:33:47 -0000 Received: (qmail 3212 invoked by uid 500); 2 Oct 2009 20:33:47 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 3110 invoked by uid 500); 2 Oct 2009 20:33:47 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 3095 invoked by uid 99); 2 Oct 2009 20:33:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 20:33:47 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Oct 2009 20:33:44 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5313123888D6; Fri, 2 Oct 2009 20:33:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@commons.apache.org From: oheger@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20091002203323.5313123888D6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 extends ConfigurationImpl implements HierarchicalConfigurationSource +public class SubConfiguration extends ConfigurationImpl implements + HierarchicalConfigurationSource { /** Stores the parent configuration. */ private ConfigurationImpl 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