geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r670022 - /geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java
Date Fri, 20 Jun 2008 18:26:19 GMT
Author: jdillon
Date: Fri Jun 20 11:26:19 2008
New Revision: 670022

URL: http://svn.apache.org/viewvc?rev=670022&view=rev
Log:
Fix up the default documenter

Modified:
    geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java

Modified: geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java?rev=670022&r1=670021&r2=670022&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java
(original)
+++ geronimo/gshell/trunk/gshell-rapture/src/main/java/org/apache/geronimo/gshell/rapture/DefaultCommandDocumenter.java
Fri Jun 20 11:26:19 2008
@@ -19,7 +19,6 @@
 
 package org.apache.geronimo.gshell.rapture;
 
-import org.apache.geronimo.gshell.ansi.Renderer;
 import org.apache.geronimo.gshell.clp.CommandLineProcessor;
 import org.apache.geronimo.gshell.clp.Printer;
 import org.apache.geronimo.gshell.command.CommandAction;
@@ -50,9 +49,6 @@
     private final Logger log = LoggerFactory.getLogger(getClass());
 
     private GShellPlexusContainer container;
-
-    private Renderer renderer = new Renderer();
-
     // Contextualizable
 
     public void contextualize(final Context context) throws ContextException {
@@ -96,6 +92,9 @@
 
     /**
      * Get the action instance for the given command context.
+     *
+     * @param info  The command-info to previde an action for.
+     * @return      The command action for the given information.
      */
     private CommandAction getAction(final CommandInfo info) {
         assert info != null;



Mime
View raw message