You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jg...@apache.org on 2014/10/08 21:13:19 UTC

svn commit: r1630205 - /activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs

Author: jgomes
Date: Wed Oct  8 19:13:19 2014
New Revision: 1630205

URL: http://svn.apache.org/r1630205
Log:
Fix default parameter for backward compatibility.

Modified:
    activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs

Modified: activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs
URL: http://svn.apache.org/viewvc/activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs?rev=1630205&r1=1630204&r2=1630205&view=diff
==============================================================================
--- activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs (original)
+++ activemq/activemq-dotnet/Apache.NMS/trunk/src/test/csharp/NMSTestSupport.cs Wed Oct  8 19:13:19 2014
@@ -392,9 +392,18 @@ namespace Apache.NMS.Test
 		/// <summary>
 		/// Create a new connection to the broker, and start it.
 		/// </summary>
+		/// <returns></returns>
+		public virtual IConnection CreateConnectionAndStart()
+		{
+			return CreateConnectionAndStart(null);
+		}
+
+		/// <summary>
+		/// Create a new connection to the broker, and start it.
+		/// </summary>
 		/// <param name="newClientId">Client ID of the new connection.</param>
 		/// <returns></returns>
-		public virtual IConnection CreateConnectionAndStart(string newClientId = null)
+		public virtual IConnection CreateConnectionAndStart(string newClientId)
 		{
 			IConnection newConnection = CreateConnection(newClientId);
 			newConnection.Start();