Author: tabish
Date: Tue Aug 31 20:22:54 2010
New Revision: 991317
URL: http://svn.apache.org/viewvc?rev=991317&view=rev
Log:
Performing a little bit of code cleanup
Modified:
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBlobMessage.cs
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQObjectMessage.cs
activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTempDestination.cs
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBlobMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBlobMessage.cs?rev=991317&r1=991316&r2=991317&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBlobMessage.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBlobMessage.cs
Tue Aug 31 20:22:54 2010
@@ -15,8 +15,6 @@
* limitations under the License.
*/
-using Apache.NMS.ActiveMQ.Commands;
-
namespace Apache.NMS.ActiveMQ.Commands
{
public class ActiveMQBlobMessage : ActiveMQMessage
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs?rev=991317&r1=991316&r2=991317&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQBytesMessage.cs
Tue Aug 31 20:22:54 2010
@@ -564,8 +564,8 @@ namespace Apache.NMS.ActiveMQ.Commands
/// </summary>
private class LengthTrackerStream : Stream
{
- private ActiveMQBytesMessage parent;
- private Stream sink;
+ private readonly ActiveMQBytesMessage parent;
+ private readonly Stream sink;
public LengthTrackerStream(Stream sink, ActiveMQBytesMessage parent) : base()
{
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQObjectMessage.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQObjectMessage.cs?rev=991317&r1=991316&r2=991317&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQObjectMessage.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQObjectMessage.cs
Tue Aug 31 20:22:54 2010
@@ -15,7 +15,6 @@
* limitations under the License.
*/
-using System;
using System.Collections;
using System.IO;
@@ -25,8 +24,6 @@ using System.Runtime.Serialization.Forma
#endif
using Apache.NMS.ActiveMQ.OpenWire;
-using Apache.NMS.ActiveMQ.Commands;
-using Apache.NMS;
namespace Apache.NMS.ActiveMQ.Commands
{
Modified: activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTempDestination.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTempDestination.cs?rev=991317&r1=991316&r2=991317&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTempDestination.cs
(original)
+++ activemq/activemq-dotnet/Apache.NMS.ActiveMQ/trunk/src/main/csharp/Commands/ActiveMQTempDestination.cs
Tue Aug 31 20:22:54 2010
@@ -16,16 +16,7 @@
*/
using System;
-using Apache.NMS.ActiveMQ;
-//
-// Marshalling code for Open Wire Format for ActiveMQTempDestination
-//
-//
-// NOTE!: This file is autogenerated - do not modify!
-// if you need to make a change, please see the Groovy scripts in the
-// activemq-core module
-//
namespace Apache.NMS.ActiveMQ.Commands
{
public abstract class ActiveMQTempDestination : ActiveMQDestination
@@ -60,11 +51,11 @@ namespace Apache.NMS.ActiveMQ.Commands
public const byte ID_ActiveMQTempDestination = 0;
- public ActiveMQTempDestination() : base()
+ protected ActiveMQTempDestination() : base()
{
}
- public ActiveMQTempDestination(String name) : base(name)
+ protected ActiveMQTempDestination(String name) : base(name)
{
}
|