mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Improve documentation and remove unused code.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14311 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5c124ac523
commit
0c0275df1c
2 changed files with 14 additions and 4 deletions
|
@ -1,3 +1,9 @@
|
|||
2002-08-21 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSObject.m: ([-replacementObjectForPortCoder:])
|
||||
Documented method and removed unused/unwanted code dealing with
|
||||
NSDistantObject (NSDistantObject overrides the method).
|
||||
|
||||
2002-08-20 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSObject.m: Fix silly typo.
|
||||
|
|
|
@ -1341,6 +1341,14 @@ static BOOL double_release_check_enabled = NO;
|
|||
return self;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the actual object to be encoded for sending over the
|
||||
* network on a Distributed Objects connection.<br />
|
||||
* The default implementation returns self if the receiver is being
|
||||
* sent <em>bycopy</em> and returns a proxy otherwise.<br />
|
||||
* Subclasses may override this method to change this behavior,
|
||||
* eg. to ensure that they are always copied.
|
||||
*/
|
||||
- (id) replacementObjectForPortCoder: (NSPortCoder*)aCoder
|
||||
{
|
||||
static Class proxyClass = 0;
|
||||
|
@ -1361,10 +1369,6 @@ static BOOL double_release_check_enabled = NO;
|
|||
{
|
||||
return self;
|
||||
}
|
||||
else if ([self isKindOfClass: proxyClass])
|
||||
{
|
||||
return self;
|
||||
}
|
||||
else
|
||||
{
|
||||
return (*proxyImp)(proxyClass, @selector(proxyWithLocal:connection:),
|
||||
|
|
Loading…
Reference in a new issue