[jboss-cvs] JBoss Messaging SVN: r2444 - trunk/src/main/org/jboss/jms/wireformat.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Feb 26 07:17:19 EST 2007


Author: ovidiu.feodorov at jboss.com
Date: 2007-02-26 07:17:19 -0500 (Mon, 26 Feb 2007)
New Revision: 2444

Modified:
   trunk/src/main/org/jboss/jms/wireformat/ClosingRequest.java
Log:
extra logging

Modified: trunk/src/main/org/jboss/jms/wireformat/ClosingRequest.java
===================================================================
--- trunk/src/main/org/jboss/jms/wireformat/ClosingRequest.java	2007-02-26 12:14:13 UTC (rev 2443)
+++ trunk/src/main/org/jboss/jms/wireformat/ClosingRequest.java	2007-02-26 12:17:19 UTC (rev 2444)
@@ -28,9 +28,6 @@
 import org.jboss.jms.client.Closeable;
 
 /**
- * 
- * A ClosingRequest
- *
  * @author <a href="mailto:tim.fox at jboss.com">Tim Fox</a>
  * @version <tt>$Revision$</tt>
  *
@@ -55,8 +52,7 @@
 
    public ResponseSupport serverInvoke() throws Exception
    {
-      Closeable endpoint = 
-         (Closeable)Dispatcher.instance.getTarget(objectId);
+      Closeable endpoint = (Closeable)Dispatcher.instance.getTarget(objectId);
       
       if (endpoint == null)
       {
@@ -64,16 +60,19 @@
       }
       
       endpoint.closing();
-      
       return null;
    }
 
    public void write(DataOutputStream os) throws Exception
    {
       super.write(os);
-      
       os.flush();
    }
+
+   public String toString()
+   {
+      return "ClosingRequest[ID=" + objectId + ", ver=" + version + "]";
+   }
 }
 
 




More information about the jboss-cvs-commits mailing list