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/11/01 21:48:50 UTC

svn commit: r1636035 - /commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/NodeHandlerDecorator.java

Author: oheger
Date: Sat Nov  1 20:48:49 2014
New Revision: 1636035

URL: http://svn.apache.org/r1636035
Log:
Added missing @Override annotations.

Modified:
    commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/NodeHandlerDecorator.java

Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/NodeHandlerDecorator.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/NodeHandlerDecorator.java?rev=1636035&r1=1636034&r2=1636035&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/NodeHandlerDecorator.java (original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration2/tree/NodeHandlerDecorator.java Sat Nov  1 20:48:49 2014
@@ -37,21 +37,25 @@ import java.util.Set;
  */
 public abstract class NodeHandlerDecorator<T> implements NodeHandler<T>
 {
+    @Override
     public String nodeName(T node)
     {
         return getDecoratedNodeHandler().nodeName(node);
     }
 
+    @Override
     public Object getValue(T node)
     {
         return getDecoratedNodeHandler().getValue(node);
     }
 
+    @Override
     public T getParent(T node)
     {
         return getDecoratedNodeHandler().getParent(node);
     }
 
+    @Override
     public List<T> getChildren(T node)
     {
         return getDecoratedNodeHandler().getChildren(node);
@@ -73,46 +77,55 @@ public abstract class NodeHandlerDecorat
                 matcher, criterion);
     }
 
+    @Override
     public List<T> getChildren(T node, String name)
     {
         return getDecoratedNodeHandler().getChildren(node, name);
     }
 
+    @Override
     public T getChild(T node, int index)
     {
         return getDecoratedNodeHandler().getChild(node, index);
     }
 
+    @Override
     public int indexOfChild(T parent, T child)
     {
         return getDecoratedNodeHandler().indexOfChild(parent, child);
     }
 
+    @Override
     public int getChildrenCount(T node, String name)
     {
         return getDecoratedNodeHandler().getChildrenCount(node, name);
     }
 
+    @Override
     public Set<String> getAttributes(T node)
     {
         return getDecoratedNodeHandler().getAttributes(node);
     }
 
+    @Override
     public boolean hasAttributes(T node)
     {
         return getDecoratedNodeHandler().hasAttributes(node);
     }
 
+    @Override
     public Object getAttributeValue(T node, String name)
     {
         return getDecoratedNodeHandler().getAttributeValue(node, name);
     }
 
+    @Override
     public boolean isDefined(T node)
     {
         return getDecoratedNodeHandler().isDefined(node);
     }
 
+    @Override
     public T getRootNode()
     {
         return getDecoratedNodeHandler().getRootNode();