You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by hb...@apache.org on 2013/05/03 00:37:06 UTC

svn commit: r1478589 - /maven/shared/trunk/maven-dependency-tree/src/main/java/org/apache/maven/shared/dependency/graph/traversal/SerializingDependencyNodeVisitor.java

Author: hboutemy
Date: Thu May  2 22:37:05 2013
New Revision: 1478589

URL: http://svn.apache.org/r1478589
Log:
renamed inner class

Modified:
    maven/shared/trunk/maven-dependency-tree/src/main/java/org/apache/maven/shared/dependency/graph/traversal/SerializingDependencyNodeVisitor.java

Modified: maven/shared/trunk/maven-dependency-tree/src/main/java/org/apache/maven/shared/dependency/graph/traversal/SerializingDependencyNodeVisitor.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-dependency-tree/src/main/java/org/apache/maven/shared/dependency/graph/traversal/SerializingDependencyNodeVisitor.java?rev=1478589&r1=1478588&r2=1478589&view=diff
==============================================================================
--- maven/shared/trunk/maven-dependency-tree/src/main/java/org/apache/maven/shared/dependency/graph/traversal/SerializingDependencyNodeVisitor.java (original)
+++ maven/shared/trunk/maven-dependency-tree/src/main/java/org/apache/maven/shared/dependency/graph/traversal/SerializingDependencyNodeVisitor.java Thu May  2 22:37:05 2013
@@ -36,9 +36,9 @@ public class SerializingDependencyNodeVi
     // classes ----------------------------------------------------------------
 
     /**
-     * Provides tokens to use when serializing the dependency tree.
+     * Provides tokens to use when serializing the dependency graph.
      */
-    public static class TreeTokens
+    public static class GraphTokens
     {
         private final String nodeIndent;
 
@@ -48,7 +48,7 @@ public class SerializingDependencyNodeVi
 
         private final String lastFillIndent;
 
-        public TreeTokens( String nodeIndent, String lastNodeIndent, String fillIndent, String lastFillIndent )
+        public GraphTokens( String nodeIndent, String lastNodeIndent, String fillIndent, String lastFillIndent )
         {
             this.nodeIndent = nodeIndent;
             this.lastNodeIndent = lastNodeIndent;
@@ -70,20 +70,20 @@ public class SerializingDependencyNodeVi
     // constants --------------------------------------------------------------
 
     /**
-     * Whitespace tokens to use when outputing the dependency tree.
+     * Whitespace tokens to use when outputing the dependency graph.
      */
-    public static final TreeTokens WHITESPACE_TOKENS = new TreeTokens( "   ", "   ", "   ", "   " );
+    public static final GraphTokens WHITESPACE_TOKENS = new GraphTokens( "   ", "   ", "   ", "   " );
 
     /**
-     * The standard ASCII tokens to use when outputing the dependency tree.
+     * The standard ASCII tokens to use when outputing the dependency graph.
      */
-    public static final TreeTokens STANDARD_TOKENS = new TreeTokens( "+- ", "\\- ", "|  ", "   " );
+    public static final GraphTokens STANDARD_TOKENS = new GraphTokens( "+- ", "\\- ", "|  ", "   " );
 
     /**
-     * The extended ASCII tokens to use when outputing the dependency tree.
+     * The extended ASCII tokens to use when outputing the dependency graph.
      */
-    public static final TreeTokens EXTENDED_TOKENS =
-        new TreeTokens( "\u00c3\u00c4 ", "\u00c0\u00c4 ", "\u00b3  ", "   " );
+    public static final GraphTokens EXTENDED_TOKENS =
+        new GraphTokens( "\u00c3\u00c4 ", "\u00c0\u00c4 ", "\u00b3  ", "   " );
 
     // fields -----------------------------------------------------------------
 
@@ -93,9 +93,9 @@ public class SerializingDependencyNodeVi
     private final PrintWriter writer;
 
     /**
-     * The tokens to use when serializing the dependency tree.
+     * The tokens to use when serializing the dependency graph.
      */
-    private final TreeTokens tokens;
+    private final GraphTokens tokens;
 
     /**
      * The depth of the currently visited dependency node.
@@ -122,9 +122,9 @@ public class SerializingDependencyNodeVi
      * @param writer
      *            the writer to serialize to
      * @param tokens
-     *            the tokens to use when serializing the dependency tree
+     *            the tokens to use when serializing the dependency graph
      */
-    public SerializingDependencyNodeVisitor( Writer writer, TreeTokens tokens )
+    public SerializingDependencyNodeVisitor( Writer writer, GraphTokens tokens )
     {
         if ( writer instanceof PrintWriter )
         {