mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([String -emptyCopy]): Method removed; super class implementation is
fine. ([String -initWithCString:range:]): Use -subclassResponsibility:, not -notImplemented:. ([String -empty]): Likewise. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@690 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a13c7e2d5b
commit
2e58b39376
1 changed files with 3 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Implementation for Objective-C String object
|
||||
Copyright (C) 1993,1994,1995 Free Software Foundation, Inc.
|
||||
Copyright (C) 1993,1994,1995, 1996 Free Software Foundation, Inc.
|
||||
|
||||
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
|
||||
Date: May 1993
|
||||
|
@ -62,21 +62,14 @@
|
|||
/* For now, this is the designated initializer for this class */
|
||||
- initWithCString: (const char*)aCharPtr range: (IndexRange)aRange
|
||||
{
|
||||
[self notImplemented:_cmd];
|
||||
return self;
|
||||
}
|
||||
|
||||
/* Empty copy must empty an allocCopy'ed version of self */
|
||||
- emptyCopy
|
||||
{
|
||||
[self notImplemented:_cmd];
|
||||
[self subclassResponsibility:_cmd];
|
||||
return self;
|
||||
}
|
||||
|
||||
/* This override in mutable string classes */
|
||||
- empty
|
||||
{
|
||||
[self shouldNotImplement:_cmd];
|
||||
[self subclassResponsibility:_cmd];
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue