summaryrefslogtreecommitdiff
path: root/CSharp
diff options
context:
space:
mode:
Diffstat (limited to 'CSharp')
-rw-r--r--CSharp/Ivy/IvyPPC/IvyDomain.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/CSharp/Ivy/IvyPPC/IvyDomain.cs b/CSharp/Ivy/IvyPPC/IvyDomain.cs
index 8abeb3f..09fd0de 100644
--- a/CSharp/Ivy/IvyPPC/IvyDomain.cs
+++ b/CSharp/Ivy/IvyPPC/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)