Преглед на файлове

Remove extraneous logging.

master
achmizs преди 10 години
родител
ревизия
3e61bec9a8
променени са 2 файла, в които са добавени 3 реда и са изтрити 15 реда
  1. 2
    10
      SA_DiceFormatter.m
  2. 1
    5
      SA_DiceParser.m

+ 2
- 10
SA_DiceFormatter.m Целия файл

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

+ 1
- 5
SA_DiceParser.m Целия файл

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

Loading…
Отказ
Запис