Author: anovarini
Date: Tue Oct  4 22:23:58 2011
New Revision: 1178984

URL: http://svn.apache.org/viewvc?rev=1178984&view=rev
Log:
Removed unused method cmdEcho

Modified:
    incubator/kitty/trunk/src/main/groovy/org/apache/kitty/CmdShell.groovy

Modified: incubator/kitty/trunk/src/main/groovy/org/apache/kitty/CmdShell.groovy
URL: 
http://svn.apache.org/viewvc/incubator/kitty/trunk/src/main/groovy/org/apache/kitty/CmdShell.groovy?rev=1178984&r1=1178983&r2=1178984&view=diff
==============================================================================
--- incubator/kitty/trunk/src/main/groovy/org/apache/kitty/CmdShell.groovy 
(original)
+++ incubator/kitty/trunk/src/main/groovy/org/apache/kitty/CmdShell.groovy Tue 
Oct  4 22:23:58 2011
@@ -36,7 +36,7 @@ import org.apache.kitty.utils.Help
  * This is a command shell class that is used for a command line user 
interface for the management console
  * </p>
  * </pre>
- * 
+ *
  * @version $Id$
  *
  */
@@ -69,7 +69,7 @@ class CmdShell {
        ]
 
        /**
-        * 
+        *
         */
        public CmdShell() {
                // TODO Auto-generated constructor stub
@@ -86,7 +86,7 @@ class CmdShell {
                // TODO add Windows compatibility check
                def historyFile = new File(System.getProperty("user.home"), 
"kitty.history")
                historyFile.createNewFile()
-               
+
                def history = new History(historyFile)
                def reader = new ConsoleReader()
 
@@ -237,10 +237,10 @@ class CmdShell {
        }
 
     static cmdConnect(String... args) {
-               
+
         def host = args.length > 1 ? args[0] : HOST
         def port = args.length >= 2 ? args[1] : PORT
-               
+
         if (args?.length == 4) {
             getClient().connect(host, port, args[2], args[3])
         }
@@ -284,24 +284,12 @@ class CmdShell {
                println "listing files and directories..."
                if (remote) {
                        getClient().ls()
-                       println "The domain list is:"
                }
                else {
                        println Constants.ERROR_NOT_CONNECTED
                }
        }
 
-  /* this command is serving no purpose and needs to be removed in future 
versions */
-
-       static cmdEcho(def input) {
-               if (input.size() > 1) {
-                       input.each { print it+" " }
-               }
-               println()
-       }
-
-
-
        static cmdDomains() {
                def domains = getClient().domains()
                if (domains) {


Reply via email to