mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
([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:
parent
6cb3e1df6a
commit
b228ddc611
1 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue