Use -subclassResponsibility instead of -notImplemented

where appropriate.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@893 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1996-02-01 17:04:17 +00:00
parent 2cea9a86d1
commit 843d0a2938
7 changed files with 46 additions and 46 deletions

View file

@ -1,5 +1,5 @@
/* NSArray - Array object to hold other objects.
Copyright (C) 1995 Free Software Foundation, Inc.
Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by: R. Andrew McCallum <mccallum@gnu.ai.mit.edu>
From skeleton by: Adam Fedor <fedor@boulder.colorado.edu>
@ -138,7 +138,7 @@ static Class NSMutableArray_concrete_class;
/* This is the designated initializer for NSArray. */
- initWithObjects: (id*)objects count: (unsigned)count
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
return nil;
}
@ -202,13 +202,13 @@ static Class NSMutableArray_concrete_class;
- (unsigned) count
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
return 0;
}
- objectAtIndex: (unsigned)index
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
return nil;
}
@ -388,7 +388,7 @@ static Class NSMutableArray_concrete_class;
/* This is the desgnated initializer for NSMutableArray */
- initWithCapacity: (unsigned)numItems
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
return nil;
}