minor refact

This commit is contained in:
niksedk 2014-08-28 19:12:16 +02:00
parent 27bd609059
commit b433ce5c9d

View File

@ -150,7 +150,7 @@ namespace NHunspell
throw new InvalidOperationException("Dictionary is not loaded");
}
if (word == null || word.Length == 0)
if (string.IsNullOrEmpty(word))
{
return null;
}