activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r898572 - in /activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands: ConnectionId.cs ConsumerId.cs ProducerId.cs SessionId.cs TransactionId.cs
Date Tue, 12 Jan 2010 23:25:01 GMT
Author: tabish
Date: Tue Jan 12 23:25:01 2010
New Revision: 898572

URL: http://svn.apache.org/viewvc?rev=898572&view=rev
Log:
Update the ToString methods in several of the commands to make the Logging more readable.

Modified:
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionId.cs
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerId.cs
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerId.cs
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SessionId.cs
    activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionId.cs

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionId.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionId.cs?rev=898572&r1=898571&r2=898572&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionId.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConnectionId.cs
Tue Jan 12 23:25:01 2010
@@ -62,7 +62,7 @@
         ///
         public override string ToString()
         {
-            return GetType().Name + "[Value=" + Value + "]";
+            return Value;
         }
 
         public string Value

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerId.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerId.cs?rev=898572&r1=898571&r2=898572&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerId.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ConsumerId.cs
Tue Jan 12 23:25:01 2010
@@ -60,11 +60,7 @@
         ///
         public override string ToString()
         {
-            return GetType().Name + "[" +
-                "ConnectionId=" + ConnectionId +
-                "SessionId=" + SessionId +
-                "Value=" + Value +
-                "]";
+            return ConnectionId + ":" + SessionId + ":" + Value;
         }
 
         public SessionId ParentId

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerId.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerId.cs?rev=898572&r1=898571&r2=898572&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerId.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/ProducerId.cs
Tue Jan 12 23:25:01 2010
@@ -69,11 +69,7 @@
         ///
         public override string ToString()
         {
-            return GetType().Name + "[" +
-                "ConnectionId=" + ConnectionId +
-                "Value=" + Value +
-                "SessionId=" + SessionId +
-                "]";
+            return ConnectionId + ":" + SessionId + ":" + Value;
         }
 
         public SessionId ParentId

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SessionId.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SessionId.cs?rev=898572&r1=898571&r2=898572&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SessionId.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/SessionId.cs
Tue Jan 12 23:25:01 2010
@@ -68,7 +68,7 @@
         ///
         public override string ToString()
         {
-            return GetType().Name + "[ConnectionId=" + ConnectionId + "Value=" + Value +
"]";
+            return ConnectionId + ":" + Value;
         }
 
         public ConnectionId ParentId

Modified: activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionId.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionId.cs?rev=898572&r1=898571&r2=898572&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionId.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Commands/TransactionId.cs
Tue Jan 12 23:25:01 2010
@@ -44,10 +44,7 @@
         ///
         public override string ToString()
         {
-            return GetType().Name + "[" +
-                "Value=" + Value +
-                "ConnectionId=" + ConnectionId +
-                "]";
+            return ConnectionId + ":" + Value;
         }
 
         public long Value



Mime
View raw message