added toString() method

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@514772 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Davies 2007-03-05 18:24:33 +00:00
parent bd7d59c38f
commit 8be526c5ec
1 changed files with 4 additions and 0 deletions

View File

@ -60,4 +60,8 @@ public class ReferenceRecord{
public void setMessageId(String messageId){ public void setMessageId(String messageId){
this.messageId=messageId; this.messageId=messageId;
} }
public String toString() {
return "ReferenceRecord(id=" + messageId + ",data=" + data +")";
}
} }