From 1c96a6582b11d572fe9fdf09dc8caea1e3ed9cda Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 1 Feb 2007 09:49:01 +0000 Subject: Utilisateur : Fcolin Date : 10/04/06 Heure : 18:45 Archivé dans $/CSharp/Ivy/Ivy Commentaire: optimisation diverse suite a passage de Code Analysis (vss 22) --- CSharp/Ivy/Ivy/IvyDomain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CSharp/Ivy') diff --git a/CSharp/Ivy/Ivy/IvyDomain.cs b/CSharp/Ivy/Ivy/IvyDomain.cs index 8abeb3f..09fd0de 100644 --- a/CSharp/Ivy/Ivy/IvyDomain.cs +++ b/CSharp/Ivy/Ivy/IvyDomain.cs @@ -42,7 +42,7 @@ namespace IvyBus } public bool IsEmpty() { - return domain == ""; + return String.IsNullOrEmpty( domain ); } private void ivybus_Validating(object sender, CancelEventArgs e) -- cgit v1.1