You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2008/11/02 09:55:28 UTC
svn commit: r709854 -
/geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
Author: jdillon
Date: Sun Nov 2 01:55:28 2008
New Revision: 709854
URL: http://svn.apache.org/viewvc?rev=709854&view=rev
Log:
Tidy
Modified:
geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
Modified: geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java?rev=709854&r1=709853&r2=709854&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java (original)
+++ geronimo/gshell/trunk/gshell-remote/gshell-remote-client/src/main/java/org/apache/geronimo/gshell/remote/client/RshClient.java Sun Nov 2 01:55:28 2008
@@ -182,7 +182,7 @@
log.trace("Response: {}", resp);
}
- public int complete(String buffer, int cursor, List<String> candidates) throws Exception {
+ public int complete(final String buffer, final int cursor, final List<String> candidates) throws Exception {
CompleteMessage.Result result = (CompleteMessage.Result) session.request(new CompleteMessage(buffer, cursor));
candidates.addAll(result.getCandidates());
return result.getPosition();