([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:
Andrew McCallum 1996-01-08 16:24:14 +00:00
parent a13c7e2d5b
commit 2e58b39376

View file

@ -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;
}