mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Only output a NSDebugLLog() not an NSLog() when the class has no
setter for the key. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27525 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
10d455121d
commit
9aadf1d411
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2009-01-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
|
* Source/NSKeyValueObserving.m (-overrideSetterFor:): Only output
|
||||||
|
a NSDebugLLog() not an NSLog() when the class has no setter for
|
||||||
|
the key.
|
||||||
|
|
||||||
2009-01-05 Fred Kiefer <FredKiefer@gmx.de>
|
2009-01-05 Fred Kiefer <FredKiefer@gmx.de>
|
||||||
|
|
||||||
* Source/NSString.m (-paragraphRangeForRange:,
|
* Source/NSString.m (-paragraphRangeForRange:,
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
|
|
||||||
#include "GNUstepBase/preface.h"
|
#include "GNUstepBase/preface.h"
|
||||||
#import "Foundation/NSCharacterSet.h"
|
#import "Foundation/NSCharacterSet.h"
|
||||||
|
#import "Foundation/NSDebug.h"
|
||||||
#import "Foundation/NSDictionary.h"
|
#import "Foundation/NSDictionary.h"
|
||||||
#import "Foundation/NSEnumerator.h"
|
#import "Foundation/NSEnumerator.h"
|
||||||
#import "Foundation/NSException.h"
|
#import "Foundation/NSException.h"
|
||||||
|
@ -585,7 +586,7 @@ replacementForClass(Class c)
|
||||||
|
|
||||||
if (!found)
|
if (!found)
|
||||||
{
|
{
|
||||||
NSLog(@"class %@ not KVC complient for %@", original, aKey);
|
NSDebugLLog(@"KVC", @"class %@ not KVC complient for %@", original, aKey);
|
||||||
/*
|
/*
|
||||||
[NSException raise: NSInvalidArgumentException
|
[NSException raise: NSInvalidArgumentException
|
||||||
format: @"class not KVC complient for %@", aKey];
|
format: @"class not KVC complient for %@", aKey];
|
||||||
|
|
Loading…
Reference in a new issue