activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1147640 - in /activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto: DestinationDTO.java DurableSubscriptionDestinationDTO.java QueueDestinationDTO.java TopicDestinationDTO.java
Date Sun, 17 Jul 2011 14:43:26 GMT
Author: chirino
Date: Sun Jul 17 14:43:24 2011
New Revision: 1147640

URL: http://svn.apache.org/viewvc?rev=1147640&view=rev
Log:
Implementing toString to aid in debugging.

Modified:
    activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationDTO.java
    activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DurableSubscriptionDestinationDTO.java
    activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/QueueDestinationDTO.java
    activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/TopicDestinationDTO.java

Modified: activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationDTO.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationDTO.java?rev=1147640&r1=1147639&r2=1147640&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationDTO.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DestinationDTO.java
Sun Jul 17 14:43:24 2011
@@ -76,4 +76,11 @@ abstract public class DestinationDTO {
     public int hashCode() {
         return path != null ? path.hashCode() : 0;
     }
+
+    @Override
+    public String toString() {
+        return "DestinationDTO{" +
+                "path=" + path +
+                '}';
+    }
 }
\ No newline at end of file

Modified: activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DurableSubscriptionDestinationDTO.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DurableSubscriptionDestinationDTO.java?rev=1147640&r1=1147639&r2=1147640&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DurableSubscriptionDestinationDTO.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/DurableSubscriptionDestinationDTO.java
Sun Jul 17 14:43:24 2011
@@ -67,4 +67,13 @@ public class DurableSubscriptionDestinat
         result = 31 * result + (subscription_id != null ? subscription_id.hashCode() : 0);
         return result;
     }
+
+    @Override
+    public String toString() {
+        return "DurableSubscriptionDestinationDTO{" +
+                "path=" + path +
+                ", selector='" + selector + '\'' +
+                ", subscription_id='" + subscription_id + '\'' +
+                '}';
+    }
 }
\ No newline at end of file

Modified: activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/QueueDestinationDTO.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/QueueDestinationDTO.java?rev=1147640&r1=1147639&r2=1147640&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/QueueDestinationDTO.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/QueueDestinationDTO.java
Sun Jul 17 14:43:24 2011
@@ -55,4 +55,12 @@ public class QueueDestinationDTO extends
     public int hashCode() {
         return path != null ? path.hashCode() : 0;
     }
+
+    @Override
+    public String toString() {
+        return "QueueDestinationDTO{" +
+                "path=" + path +
+                '}';
+    }
+
 }
\ No newline at end of file

Modified: activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/TopicDestinationDTO.java
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/TopicDestinationDTO.java?rev=1147640&r1=1147639&r2=1147640&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/TopicDestinationDTO.java
(original)
+++ activemq/activemq-apollo/trunk/apollo-dto/src/main/java/org/apache/activemq/apollo/dto/TopicDestinationDTO.java
Sun Jul 17 14:43:24 2011
@@ -39,4 +39,10 @@ public class TopicDestinationDTO extends
         super(name);
     }
 
+    @Override
+    public String toString() {
+        return "TopicDestinationDTO{" +
+                "path=" + path +
+                '}';
+    }
 }
\ No newline at end of file



Mime
View raw message