From 291b264f280c98f5b7ad616e009ef8e820206c5e Mon Sep 17 00:00:00 2001 From: mccallum Date: Mon, 8 Jan 1996 16:24:14 +0000 Subject: [PATCH] ([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 --- Source/String.m | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/Source/String.m b/Source/String.m index 7d891072c..617d0f9ad 100644 --- a/Source/String.m +++ b/Source/String.m @@ -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 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; }