You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kp...@apache.org on 2007/01/22 17:03:35 UTC

svn commit: r498664 - /incubator/qpid/branches/qpid.0-9/java/common/src/main/java/org/apache/qpid/framing/Content.java

Author: kpvdr
Date: Mon Jan 22 08:03:34 2007
New Revision: 498664

URL: http://svn.apache.org/viewvc?view=rev&rev=498664
Log:
Addded toString() to Content to aid in debugging

Modified:
    incubator/qpid/branches/qpid.0-9/java/common/src/main/java/org/apache/qpid/framing/Content.java

Modified: incubator/qpid/branches/qpid.0-9/java/common/src/main/java/org/apache/qpid/framing/Content.java
URL: http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/java/common/src/main/java/org/apache/qpid/framing/Content.java?view=diff&rev=498664&r1=498663&r2=498664
==============================================================================
--- incubator/qpid/branches/qpid.0-9/java/common/src/main/java/org/apache/qpid/framing/Content.java (original)
+++ incubator/qpid/branches/qpid.0-9/java/common/src/main/java/org/apache/qpid/framing/Content.java Mon Jan 22 08:03:34 2007
@@ -128,4 +128,9 @@
         buffer.skip(length);
         content.limit(length);
     }
+    
+    public String toString()
+    {
+        return content.toString();
+    }
 }