Permalink
Browse files

don't use cw_isNotEmptyString

  • Loading branch information...
Machx committed Apr 4, 2013
1 parent bb86e26 commit 3e39bf492eba398ed921bc6d814d0406f5dd8929
Showing with 1 addition and 1 deletion.
  1. +1 −1 CWTrie.m
View
@@ -97,7 +97,7 @@ BOOL CWTrieNodeHasErrorForCharacter(NSString *character) {
NSLog(@"%s: Character to be looked up is nil",__PRETTY_FUNCTION__);
return YES;
}
- if (![character cw_isNotEmptyString]) { //TODO: remove usage of isNotEmptyString
+ if (character.length == 0) {
NSLog(@"%s: Character to be looked up is an empty string",__PRETTY_FUNCTION__);
return YES;
}

0 comments on commit 3e39bf4

Please sign in to comment.