Author: tabish
Date: Thu Sep  2 22:16:17 2010
New Revision: 992130

URL: http://svn.apache.org/viewvc?rev=992130&view=rev
Log:
Replace some Console outs with Trace statements.

Modified:
    
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs

Modified: 
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs
URL: 
http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs?rev=992130&r1=992129&r2=992130&view=diff
==============================================================================
--- 
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs
 (original)
+++ 
activemq/activemq-dotnet/Apache.NMS.Stomp/trunk/src/main/csharp/Protocol/XmlPrimitiveMapMarshaler.cs
 Thu Sep  2 22:16:17 2010
@@ -172,7 +172,6 @@ namespace Apache.NMS.Stomp.Protocol
         {
             if(value == null)
             {
-                Console.WriteLine("Null Map Value");
                 throw new NullReferenceException("PrimitiveMap values should 
not be Null");
             }
             else if(value is char)
@@ -217,13 +216,13 @@ namespace Apache.NMS.Stomp.Protocol
             }
             else if(value is IDictionary)
             {
-                Console.WriteLine("Can't Marshal a Dictionary");
+                Tracer.Debug("Can't Marshal a Dictionary");
 
                 throw new NotSupportedException("Can't marshal nested Maps in 
Stomp");
             }
             else if(value is IList)
             {
-                Console.WriteLine("Can't Marshal a List");
+                Tracer.Debug("Can't Marshal a List");
 
                 throw new NotSupportedException("Can't marshal nested Maps in 
Stomp");
             }


Reply via email to