You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2014/08/03 17:30:05 UTC

svn commit: r1615408 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ConfigurationXMLReader.java

Author: oheger
Date: Sun Aug  3 15:30:05 2014
New Revision: 1615408

URL: http://svn.apache.org/r1615408
Log:
[CONFIGURATION-490] Don't call non-final method in constructor.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ConfigurationXMLReader.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ConfigurationXMLReader.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ConfigurationXMLReader.java?rev=1615408&r1=1615407&r2=1615408&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ConfigurationXMLReader.java (original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/ConfigurationXMLReader.java Sun Aug  3 15:30:05 2014
@@ -68,11 +68,11 @@ public abstract class ConfigurationXMLRe
     protected ConfigurationXMLReader()
     {
         super();
-        setRootName(DEFAULT_ROOT_NAME);
+        rootName = DEFAULT_ROOT_NAME;
     }
 
     /**
-     * Parses the acutal configuration object. The passed system ID will be
+     * Parses the current configuration object. The passed system ID will be
      * ignored.
      *
      * @param systemId the system ID (ignored)