commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1792686 - in /commons/proper/configuration/trunk/src: changes/changes.xml main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
Date Wed, 26 Apr 2017 00:14:34 GMT
Author: ggregory
Date: Wed Apr 26 00:14:34 2017
New Revision: 1792686

URL: http://svn.apache.org/viewvc?rev=1792686&view=rev
Log:
[CONFIGURATION-665] Add org.apache.commons.configuration2.AbstractHierarchicalConfiguration.toString().

Modified:
    commons/proper/configuration/trunk/src/changes/changes.xml
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java

Modified: commons/proper/configuration/trunk/src/changes/changes.xml
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/changes/changes.xml?rev=1792686&r1=1792685&r2=1792686&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/changes/changes.xml (original)
+++ commons/proper/configuration/trunk/src/changes/changes.xml Wed Apr 26 00:14:34 2017
@@ -47,6 +47,9 @@
       <action dev="ggregory" type="add" issue="CONFIGURATION-664">
         Add API org.apache.commons.configuration2.tree.ImmutableNode.getChildren(String).
       </action>
+      <action dev="ggregory" type="add" issue="CONFIGURATION-665">
+        Add org.apache.commons.configuration2.AbstractHierarchicalConfiguration.toString().
+      </action>
       <action dev="ggregory" type="update" issue="CONFIGURATION-661">
         Update platform requirement from Java 6 to 7.
       </action>

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java?rev=1792686&r1=1792685&r2=1792686&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
(original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/AbstractHierarchicalConfiguration.java
Wed Apr 26 00:14:34 2017
@@ -973,4 +973,9 @@ public abstract class AbstractHierarchic
             }
         }
     }
+    
+    @Override
+    public String toString() {
+        return super.toString() + "(" + getRootElementName() + ")";
+    }
 }



Mime
View raw message