Minor tidyup

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15171 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-11-28 13:44:07 +00:00
parent d4c5540da9
commit 449471de04

View file

@ -2853,11 +2853,20 @@ static NSCharacterSet *tokenSet = nil;
/**
* Method to store specific information for particular types of
* header. This is used for non-standard parts of headers.
* header. This is used for non-standard parts of headers.<br />
* Setting a nil value for o will remove any existing value set
* using the k as its key.
*/
- (void) setObject: (id)o forKey: (NSString*)k
{
[objects setObject: o forKey: k];
if (o == nil)
{
[objects removeObjectForKey: k];
}
else
{
[objects setObject: o forKey: k];
}
}
/**