geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r603068 - in /geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands: ConnectCommand.groovy DisconnectCommand.groovy
Date Mon, 10 Dec 2007 22:09:39 GMT
Author: gawor
Date: Mon Dec 10 14:09:38 2007
New Revision: 603068

URL: http://svn.apache.org/viewvc?rev=603068&view=rev
Log:
fix disconnect command

Modified:
    geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/ConnectCommand.groovy
    geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/DisconnectCommand.groovy

Modified: geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/ConnectCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/ConnectCommand.groovy?rev=603068&r1=603067&r2=603068&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/ConnectCommand.groovy
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/ConnectCommand.groovy
Mon Dec 10 14:09:38 2007
@@ -63,7 +63,7 @@
 
         variables.parent.set("ServerConnection", connection)
 
-        io.out.println("connection established")
+        io.out.println("Connection established")
         return connection
     }
 }

Modified: geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/DisconnectCommand.groovy
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/DisconnectCommand.groovy?rev=603068&r1=603067&r2=603068&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/DisconnectCommand.groovy
(original)
+++ geronimo/server/trunk/framework/modules/geronimo-commands/src/main/groovy/org/apache/geronimo/commands/DisconnectCommand.groovy
Mon Dec 10 14:09:38 2007
@@ -37,9 +37,11 @@
         io.out.println("Disconnecting from Geronimo server")
 
         def connection = variables.get("ServerConnection")
-        if (connection) connection.close
+        if (connection) {
+            connection.close()
+        }
         variables.parent.unset("ServerConnection")
         
-        io.out.println("connection ended")
+        io.out.println("Connection ended")
     }
 }



Mime
View raw message