[mapguide-commits] r4740 - trunk/Tools/Maestro/MaestroAPI

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Apr 6 06:09:18 EDT 2010


Author: jng
Date: 2010-04-06 06:09:17 -0400 (Tue, 06 Apr 2010)
New Revision: 4740

Modified:
   trunk/Tools/Maestro/MaestroAPI/HttpServerConnection.cs
   trunk/Tools/Maestro/MaestroAPI/LocalNativeConnection.cs
Log:
#1305: Fix deprecation messages.

Modified: trunk/Tools/Maestro/MaestroAPI/HttpServerConnection.cs
===================================================================
--- trunk/Tools/Maestro/MaestroAPI/HttpServerConnection.cs	2010-04-06 10:01:29 UTC (rev 4739)
+++ trunk/Tools/Maestro/MaestroAPI/HttpServerConnection.cs	2010-04-06 10:09:17 UTC (rev 4740)
@@ -148,14 +148,14 @@
             }
         }
 
-        [Obsolete("This will be removed in the future. Use ConnectionProviderRegistry.CreateConnection() instead")]
+        [Obsolete("This will be removed in the future. Use ConnectionProviderRegistry.CreateHttpConnection() instead")]
 		public HttpServerConnection(Uri hosturl, string sessionid, string locale, bool allowUntestedVersion)
 			: this()
 		{
             InitConnection(hosturl, sessionid, locale, allowUntestedVersion);
 		}
 
-        [Obsolete("This will be removed in the future. Use ConnectionProviderRegistry.CreateConnection() instead")]
+        [Obsolete("This will be removed in the future. Use ConnectionProviderRegistry.CreateHttpConnection() instead")]
 		public HttpServerConnection(Uri hosturl, string username, string password, string locale, bool allowUntestedVersion)
 			: this()
 		{

Modified: trunk/Tools/Maestro/MaestroAPI/LocalNativeConnection.cs
===================================================================
--- trunk/Tools/Maestro/MaestroAPI/LocalNativeConnection.cs	2010-04-06 10:01:29 UTC (rev 4739)
+++ trunk/Tools/Maestro/MaestroAPI/LocalNativeConnection.cs	2010-04-06 10:09:17 UTC (rev 4740)
@@ -95,14 +95,14 @@
             RestartSession();
         }
 
-        [Obsolete("This will be removed in the future. Use ConnectionProviderRegistry.CreateConnection() instead")]
+        [Obsolete("This will be removed in the future. Use ConnectionProviderRegistry.CreateLocalNativeConnection() instead")]
 		public LocalNativeConnection(string sessionid)
 			: this()
 		{
             InitConnection(sessionid);
 		}
 
-        [Obsolete("This will be removed in the future. Use ConnectionProviderRegistry.CreateConnection() instead")]
+        [Obsolete("This will be removed in the future. Use ConnectionProviderRegistry.CreateLocalNativeConnection() instead")]
 		public LocalNativeConnection(string configFile, string username, string password, string locale)
 			: this()
 		{



More information about the mapguide-commits mailing list