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 2011/11/26 17:19:54 UTC
svn commit: r1206476 -
/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/NodeCombiner.java
Author: oheger
Date: Sat Nov 26 16:19:53 2011
New Revision: 1206476
URL: http://svn.apache.org/viewvc?rev=1206476&view=rev
Log:
Java 1.5 compatibility: Javadocs, raw types.
Modified:
commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/NodeCombiner.java
Modified: commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/NodeCombiner.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/NodeCombiner.java?rev=1206476&r1=1206475&r2=1206476&view=diff
==============================================================================
--- commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/NodeCombiner.java (original)
+++ commons/proper/configuration/trunk/src/main/java/org/apache/commons/configuration/tree/NodeCombiner.java Sat Nov 26 16:19:53 2011
@@ -40,7 +40,7 @@ import java.util.Set;
* Alone from the input structures, the combiner will not always be able to make
* this decision. So sometimes it may be necessary for the developer to
* configure the combiner and tell it, which nodes should be treated as list
- * nodes. For this purpose the <code>addListNode()</code> method exists. It
+ * nodes. For this purpose the {@code addListNode()} method exists. It
* can be passed the name of a node, which should be considered a list node.
* </p>
*
@@ -53,14 +53,14 @@ import java.util.Set;
public abstract class NodeCombiner
{
/** Stores a list with node names that are known to be list nodes. */
- protected Set listNodes;
+ protected Set<String> listNodes;
/**
- * Creates a new instance of <code>NodeCombiner</code>.
+ * Creates a new instance of {@code NodeCombiner}.
*/
public NodeCombiner()
{
- listNodes = new HashSet();
+ listNodes = new HashSet<String>();
}
/**
@@ -79,7 +79,7 @@ public abstract class NodeCombiner
*
* @return a set with the names of list nodes
*/
- public Set getListNodes()
+ public Set<String> getListNodes()
{
return Collections.unmodifiableSet(listNodes);
}
@@ -111,9 +111,9 @@ public abstract class NodeCombiner
/**
* Creates a new view node. This method will be called whenever a new view
- * node is to be created. It can be overriden to create special view nodes.
+ * node is to be created. It can be overridden to create special view nodes.
* This base implementation returns a new instance of
- * <code>{@link ViewNode}</code>.
+ * {@link ViewNode}.
*
* @return the new view node
*/