mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-04 10:30:47 +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
b25748e37a
commit
e4ecbb522e
1 changed files with 5 additions and 5 deletions
|
@ -412,22 +412,22 @@ static Class NSMutableArray_concrete_class;
|
||||||
|
|
||||||
- (void) addObject: anObject
|
- (void) addObject: anObject
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) replaceObjectAtIndex: (unsigned)index withObject: anObject
|
- (void) replaceObjectAtIndex: (unsigned)index withObject: anObject
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) insertObject: anObject atIndex: (unsigned)index
|
- (void) insertObject: anObject atIndex: (unsigned)index
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) removeObjectAtIndex: (unsigned)index
|
- (void) removeObjectAtIndex: (unsigned)index
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) removeLastObject
|
- (void) removeLastObject
|
||||||
|
@ -453,7 +453,7 @@ static Class NSMutableArray_concrete_class;
|
||||||
|
|
||||||
- (void) removeAllObjects
|
- (void) removeAllObjects
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) addObjectsFromArray: (NSArray*)otherArray
|
- (void) addObjectsFromArray: (NSArray*)otherArray
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue