svn commit: r832153 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQMessage.cs

View: New views
1 Messages — Rating Filter:   Alert me  

svn commit: r832153 - /activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQMessage.cs

by tabish :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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()