[jboss-cvs] JBoss Messaging SVN: r5522 - trunk/src/main/org/jboss/messaging/core/message/impl.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Dec 12 01:07:06 EST 2008


Author: clebert.suconic at jboss.com
Date: 2008-12-12 01:07:00 -0500 (Fri, 12 Dec 2008)
New Revision: 5522

Modified:
   trunk/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java
Log:
This code was not meant to be committed.

Modified: trunk/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java
===================================================================
--- trunk/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java	2008-12-12 05:52:49 UTC (rev 5521)
+++ trunk/src/main/org/jboss/messaging/core/message/impl/MessageImpl.java	2008-12-12 06:07:00 UTC (rev 5522)
@@ -396,34 +396,6 @@
    {
       return this.properties;
    }
-
-   /**
-     * Constructs a <code>String</code> with all attributes
-     * in name = value format.
-     *
-     * @return a <code>String</code> representation 
-     * of this object.
-     */
-    public String toString()
-    {
-        final String TAB = ", ";
-        
-        StringBuffer retValue = new StringBuffer();
-        
-        retValue.append("MessageImpl ( ")
-            .append("messageID = ").append(this.messageID).append(TAB)
-            .append("destination = ").append(this.destination).append(TAB)
-            .append("type = ").append(this.type).append(TAB)
-            .append("durable = ").append(this.durable).append(TAB)
-            .append("expiration = ").append(this.expiration).append(TAB)
-            .append("timestamp = ").append(this.timestamp).append(TAB)
-            .append("properties = ").append(this.properties).append(TAB)
-            .append("priority = ").append(this.priority).append(TAB)
-            .append("body = ").append(this.body).append(TAB)
-            .append(" )");
-        
-        return retValue.toString();
-    }
    
    // Private -------------------------------------------------------
 




More information about the jboss-cvs-commits mailing list