Skip to content

Commit

Permalink
don't use cw_isNotEmptyString
Browse files Browse the repository at this point in the history
  • Loading branch information
Machx committed Apr 4, 2013
1 parent bb86e26 commit 3e39bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CWTrie.m
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3e39bf4

Please sign in to comment.