mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-25 01:31:08 +00:00
Minor backward compatibility fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25210 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bf7b0111b4
commit
f69d5c44b4
2 changed files with 12 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-05-31 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/NSKeyValueCoding.m: Minor fix for backward compatibility in
|
||||
([setNilValueForKey:]).
|
||||
|
||||
2007-05-30 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/gdomap.m: Don't trap abort signal.
|
||||
|
|
|
@ -270,10 +270,13 @@ static id ValueForKey(NSObject *self, const char *key, unsigned size)
|
|||
{
|
||||
[self unableToSetNilForKey: aKey];
|
||||
}
|
||||
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"%@ -- %@ 0x%x: Given nil value to set for key \"%@\"",
|
||||
NSStringFromSelector(_cmd), NSStringFromClass([self class]), self, aKey];
|
||||
else
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"%@ -- %@ 0x%x: Given nil value to set for key \"%@\"",
|
||||
NSStringFromSelector(_cmd), NSStringFromClass([self class]),
|
||||
self, aKey];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue