Remove extraneous logging.

This commit is contained in:
achmizs 2016-01-16 22:14:14 -05:00
parent 9f45d5b5d3
commit 3e61bec9a8
2 changed files with 3 additions and 15 deletions

View File

@ -388,11 +388,7 @@ static NSDictionary *_stringFormatRules;
{ {
NSString* errorDescriptionsPath = [[NSBundle bundleForClass:[self class]] pathForResource:@"SA_DB_ErrorDescriptions" ofType:@"plist"]; NSString* errorDescriptionsPath = [[NSBundle bundleForClass:[self class]] pathForResource:@"SA_DB_ErrorDescriptions" ofType:@"plist"];
_errorDescriptions = [NSDictionary dictionaryWithContentsOfFile:errorDescriptionsPath]; _errorDescriptions = [NSDictionary dictionaryWithContentsOfFile:errorDescriptionsPath];
if(_errorDescriptions) if(!_errorDescriptions)
{
NSLog(@"Error descriptions loaded successfully.");
}
else
{ {
NSLog(@"Could not load error descriptions!"); NSLog(@"Could not load error descriptions!");
} }
@ -419,11 +415,7 @@ static NSDictionary *_stringFormatRules;
{ {
NSString *stringFormatRulesPath = [[NSBundle bundleForClass:[self class]] pathForResource:SA_DB_STRING_FORMAT_RULES_PLIST_NAME ofType:@"plist"]; NSString *stringFormatRulesPath = [[NSBundle bundleForClass:[self class]] pathForResource:SA_DB_STRING_FORMAT_RULES_PLIST_NAME ofType:@"plist"];
_stringFormatRules = [NSDictionary dictionaryWithContentsOfFile:stringFormatRulesPath]; _stringFormatRules = [NSDictionary dictionaryWithContentsOfFile:stringFormatRulesPath];
if(_stringFormatRules) if(!_stringFormatRules)
{
NSLog(@"String format rules loaded successfully.");
}
else
{ {
NSLog(@"Could not load string format rules!"); NSLog(@"Could not load string format rules!");
} }

View File

@ -357,11 +357,7 @@ static NSDictionary *_validCharactersDict;
{ {
NSString *stringFormatRulesPath = [[NSBundle bundleForClass:[self class]] pathForResource:SA_DB_STRING_FORMAT_RULES_PLIST_NAME ofType:@"plist"]; NSString *stringFormatRulesPath = [[NSBundle bundleForClass:[self class]] pathForResource:SA_DB_STRING_FORMAT_RULES_PLIST_NAME ofType:@"plist"];
_validCharactersDict = [NSDictionary dictionaryWithContentsOfFile:stringFormatRulesPath][SA_DB_VALID_CHARACTERS]; _validCharactersDict = [NSDictionary dictionaryWithContentsOfFile:stringFormatRulesPath][SA_DB_VALID_CHARACTERS];
if(_validCharactersDict) if(!_validCharactersDict)
{
NSLog(@"Valid characters dictionary loaded successfully.");
}
else
{ {
NSLog(@"Could not load valid characters dictionary!"); NSLog(@"Could not load valid characters dictionary!");
} }