activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1204736 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ConnectionControl.cs
Date Mon, 21 Nov 2011 22:45:50 GMT
Author: tabish
Date: Mon Nov 21 22:45:49 2011
New Revision: 1204736

URL: http://svn.apache.org/viewvc?rev=1204736&view=rev
Log:
Fix for possible NPE

Modified:
    activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ConnectionControl.cs

Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ConnectionControl.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ConnectionControl.cs?rev=1204736&r1=1204735&r2=1204736&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ConnectionControl.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ConnectionControl.cs
Mon Nov 21 22:45:49 2011
@@ -73,7 +73,7 @@ namespace Apache.NMS.ActiveMQ.Commands
                 "ConnectedBrokers = " + ConnectedBrokers + ", " + 
                 "ReconnectTo = " + ReconnectTo + ", " + 
                 "RebalanceConnection = " + RebalanceConnection + ", " + 
-                "Token = " + System.Text.ASCIIEncoding.ASCII.GetString(Token) + " ]";
+                "Token = " + Token ?? System.Text.ASCIIEncoding.ASCII.GetString(Token) +
" ]";
         }
 
         public bool Close



Mime
View raw message