geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r703515 - in /geronimo/gshell/trunk: gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/shell/ShellImpl.java
Date Fri, 10 Oct 2008 16:19:46 GMT
Author: jdillon
Date: Fri Oct 10 09:19:45 2008
New Revision: 703515

URL: http://svn.apache.org/viewvc?rev=703515&view=rev
Log:
Drop the pipe execute from the shell's api

Modified:
    geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/shell/ShellImpl.java

Modified: geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java?rev=703515&r1=703514&r2=703515&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java
(original)
+++ geronimo/gshell/trunk/gshell-api/src/main/java/org/apache/geronimo/gshell/shell/Shell.java
Fri Oct 10 09:19:45 2008
@@ -34,8 +34,6 @@
 
     Object execute(Object... args) throws Exception;
 
-    Object execute(Object[][] commands) throws Exception;
-
     boolean isOpened();
 
     void close();

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/shell/ShellImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/shell/ShellImpl.java?rev=703515&r1=703514&r2=703515&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/shell/ShellImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/shell/ShellImpl.java
Fri Oct 10 09:19:45 2008
@@ -194,13 +194,6 @@
         return executor.execute(getContext(), args);
     }
 
-    public Object execute(final Object[][] commands) throws Exception {
-        ensureOpened();
-
-        assert executor != null;
-        return executor.execute(getContext(), commands);
-    }
-
     public void run(final Object... args) throws Exception {
         assert args != null;
 
@@ -241,7 +234,7 @@
         JLineConsole console = new JLineConsole(executor, io);
         console.setPrompter(getPrompter());
         console.setErrorHandler(getErrorHandler());
-        console.setHistory(history);
+        console.setHistory(getHistory());
 
         // Attach completers if there are any
         if (completers != null) {



Mime
View raw message