mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 09:04:13 +00:00
Remove erroneous check
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25629 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f492652dd5
commit
444b1723e0
2 changed files with 5 additions and 5 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-11-29 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSKeyValueCoding.m: Remove erroneous check for nil argument
|
||||
in obsolete method ([takeValue:forKey:]).
|
||||
|
||||
2007-11-28 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/Additions/GSMime.m: Improve code for folding header lines
|
||||
|
|
|
@ -625,11 +625,6 @@ static id ValueForKey(NSObject *self, const char *key, unsigned size)
|
|||
char key[size+1];
|
||||
|
||||
GSOnceMLog(@"This method is deprecated, use -setValue:forKey:");
|
||||
if (anObject == nil)
|
||||
{
|
||||
[NSException raise: NSInvalidArgumentException
|
||||
format: @"Attempt to set nil value for key '%@'", aKey];
|
||||
}
|
||||
[aKey getCString: key
|
||||
maxLength: size+1
|
||||
encoding: NSUTF8StringEncoding];
|
||||
|
|
Loading…
Reference in a new issue