You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2009/11/02 23:25:56 UTC
svn commit: r832153 -
/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQMessage.cs
Author: tabish
Date: Mon Nov 2 22:25:55 2009
New Revision: 832153
URL: http://svn.apache.org/viewvc?rev=832153&view=rev
Log:
* ActiveMQMessage.cs:
Fix ClearProperties to set the helper to not Readonly before trying to clear them.
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQMessage.cs
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQMessage.cs?rev=832153&r1=832152&r2=832153&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQMessage.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQMessage.cs Mon Nov 2 22:25:55 2009
@@ -104,8 +104,8 @@
public virtual void ClearProperties()
{
this.MarshalledProperties = null;
- this.Properties.Clear();
this.ReadOnlyProperties = false;
+ this.Properties.Clear();
}
protected void FailIfReadOnlyBody()