activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r891927 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Commands/WireFormatInfo.cs
Date Thu, 17 Dec 2009 21:37:31 GMT
Author: tabish
Date: Thu Dec 17 21:37:30 2009
New Revision: 891927

URL: http://svn.apache.org/viewvc?rev=891927&view=rev
Log:
Fix output of Magic property in ToString to actual display its value.

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Commands/WireFormatInfo.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Commands/WireFormatInfo.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Commands/WireFormatInfo.cs?rev=891927&r1=891926&r2=891927&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Commands/WireFormatInfo.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/branches/1.2.x/src/main/csharp/Commands/WireFormatInfo.cs
Thu Dec 17 21:37:30 2009
@@ -15,6 +15,7 @@
 * limitations under the License.
 */
 
+using System.Text;
 using Apache.NMS.ActiveMQ.State;
 using Apache.NMS.Util;
 using Apache.NMS.ActiveMQ.OpenWire;
@@ -47,7 +48,7 @@
 		public override string ToString()
 		{
 			return GetType().Name + "["
-					+ " Magic=" + Magic
+					+ " Magic=" + ASCIIEncoding.ASCII.GetString(magic)
 					+ " Version=" + Version
 					+ " MarshalledProperties=" + Properties.ToString()
 					+ " ]";



Mime
View raw message