Fix error in warning logs

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26171 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2008-03-02 09:22:25 +00:00
parent 166b8e5082
commit ec66533017

View file

@ -375,7 +375,8 @@ replacementForClass(Class c)
NSLog(@"WARNING The class '%@' (or one of its superclasses) overrides"
@" the deprecated takeValue:forKey: method. Using KVO to observe"
@" this class may interfere with this method. Please change the"
@" class to override -setValue:forKey: instead.");
@" class to override -setValue:forKey: instead.",
NSStringFromClass(aClass));
}
if ([aClass instanceMethodForSelector: @selector(takeValue:forKeyPath:)]
!= [NSObject instanceMethodForSelector: @selector(takeValue:forKeyPath:)])
@ -383,7 +384,8 @@ replacementForClass(Class c)
NSLog(@"WARNING The class '%@' (or one of its superclasses) overrides"
@" the deprecated takeValue:forKeyPath: method. Using KVO to observe"
@" this class may interfere with this method. Please change the"
@" class to override -setValue:forKeyPath: instead.");
@" class to override -setValue:forKeyPath: instead.",
NSStringFromClass(aClass));
}
original = aClass;