mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Replaced "notImplemented" with "subclassResponsibilty" where
appropriate. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@546 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
52e50a8ddd
commit
7ef742468f
1 changed files with 7 additions and 7 deletions
|
@ -181,7 +181,7 @@ static Class NSMutableString_c_concrete_class;
|
||||||
length: (unsigned int)length
|
length: (unsigned int)length
|
||||||
freeWhenDone: (BOOL)flag
|
freeWhenDone: (BOOL)flag
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -197,7 +197,7 @@ static Class NSMutableString_c_concrete_class;
|
||||||
length: (unsigned int)length
|
length: (unsigned int)length
|
||||||
freeWhenDone: (BOOL)flag
|
freeWhenDone: (BOOL)flag
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -908,7 +908,7 @@ static Class NSMutableString_c_concrete_class;
|
||||||
@implementation NSString (NSCStringAccess)
|
@implementation NSString (NSCStringAccess)
|
||||||
- (const char *) _cStringContents
|
- (const char *) _cStringContents
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
@ -932,7 +932,7 @@ static Class NSMutableString_c_concrete_class;
|
||||||
/* xxx This method may be removed in future. */
|
/* xxx This method may be removed in future. */
|
||||||
- (void) setCString: (const char *)byteString length: (unsigned)length
|
- (void) setCString: (const char *)byteString length: (unsigned)length
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -940,7 +940,7 @@ static Class NSMutableString_c_concrete_class;
|
||||||
|
|
||||||
- initWithCapacity:(unsigned)capacity
|
- initWithCapacity:(unsigned)capacity
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1009,12 +1009,12 @@ static Class NSMutableString_c_concrete_class;
|
||||||
|
|
||||||
- (void) deleteCharactersInRange: (NSRange)range
|
- (void) deleteCharactersInRange: (NSRange)range
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) insertString: (NSString*)aString atIndex:(unsigned)loc
|
- (void) insertString: (NSString*)aString atIndex:(unsigned)loc
|
||||||
{
|
{
|
||||||
[self notImplemented:_cmd];
|
[self subclassResponsibility:_cmd];
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Inefficient. */
|
/* Inefficient. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue