([NSMutableArray -addObject:]): Use -subclassResponsibility:, not

-notImplemented:.
([NSMutableArray -replaceObjectAtIndex:withObject:]): Likewise.
([NSMutableArray -insertObject:atIndex:]): Likewise.
([NSMutableArray -removeObjectAtIndex:]): Likewise.
([NSMutableArray -removeAllObjects]): Likewise.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@677 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-11-24 20:09:18 +00:00
parent 6cb3e1df6a
commit b228ddc611

View file

@ -412,22 +412,22 @@ static Class NSMutableArray_concrete_class;
- (void) addObject: anObject
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
}
- (void) replaceObjectAtIndex: (unsigned)index withObject: anObject
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
}
- (void) insertObject: anObject atIndex: (unsigned)index
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
}
- (void) removeObjectAtIndex: (unsigned)index
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
}
- (void) removeLastObject
@ -453,7 +453,7 @@ static Class NSMutableArray_concrete_class;
- (void) removeAllObjects
{
[self notImplemented:_cmd];
[self subclassResponsibility:_cmd];
}
- (void) addObjectsFromArray: (NSArray*)otherArray