Selaa lähdekoodia

2010-03-15 Atsushi Enomoto <[email protected]>

	* ServiceDebugElement.cs : binding names could rather be empty.


svn path=/trunk/mcs/; revision=153583
Atsushi Eno 16 vuotta sitten
vanhempi
sitoutus
119855f4b7

+ 4 - 0
mcs/class/System.ServiceModel/System.ServiceModel.Configuration/ChangeLog

@@ -1,3 +1,7 @@
+2010-03-15  Atsushi Enomoto  <[email protected]>
+
+	* ServiceDebugElement.cs : binding names could rather be empty.
+
 2010-03-09  Atsushi Enomoto  <[email protected]>
 
 	* XmlDictionaryReaderQuotasElement.cs : add ApplyConfiguration().

+ 2 - 2
mcs/class/System.ServiceModel/System.ServiceModel.Configuration/ServiceDebugElement.cs

@@ -146,9 +146,9 @@ namespace System.ServiceModel.Configuration
 				HttpsHelpPageUrl = HttpsHelpPageUrl,
 				IncludeExceptionDetailInFaults = IncludeExceptionDetailInFaults,
 			};
-			if (HttpHelpPageBinding != null)
+			if (!String.IsNullOrEmpty (HttpHelpPageBinding))
 				ret.HttpHelpPageBinding = ConfigUtil.CreateBinding (HttpHelpPageBinding, HttpHelpPageBindingConfiguration);
-			if (HttpsHelpPageBinding != null)
+			if (!String.IsNullOrEmpty (HttpsHelpPageBinding))
 				ret.HttpsHelpPageBinding = ConfigUtil.CreateBinding (HttpsHelpPageBinding, HttpsHelpPageBindingConfiguration);
 			return ret;
 		}