Browse Source

IOS-2794 Revert "Make that a mutable array"

This reverts commit 514cc4b23c.
IOS-2794
Dirk Zimmermann 1 year ago
parent
commit
6f90df8cf7
3 changed files with 3 additions and 3 deletions
  1. +1
    -1
      PantomimeFramework/PantomimeFramework/NSData+Extensions.h
  2. +1
    -1
      pantomime-lib/Framework/Pantomime/CWPart.m
  3. +1
    -1
      pantomime-lib/Framework/Pantomime/NSData+Extensions.m

+ 1
- 1
PantomimeFramework/PantomimeFramework/NSData+Extensions.h View File

@ -255,7 +255,7 @@
@result An instance of NSArray holding all components. The array is
empty if the separator was not found in the receiver.
*/
- (NSMutableArray *) componentsSeparatedByCString: (const char *) theCString;
- (NSArray *) componentsSeparatedByCString: (const char *) theCString;
/*!
@method asciiString


+ 1
- 1
pantomime-lib/Framework/Pantomime/CWPart.m View File

@ -553,7 +553,7 @@ static int currentPartVersion = 2;
dataToSend = [dataToSend wrapWithLimit: limit];
}
NSMutableArray *allLines = [dataToSend componentsSeparatedByCString: "\n"];
NSArray *allLines = [dataToSend componentsSeparatedByCString: "\n"];
NSUInteger count = [allLines count];
for (int i = 0; i < count; i++) {
if (i == count - 1 && [[allLines objectAtIndex: i] length] == 0) {


+ 1
- 1
pantomime-lib/Framework/Pantomime/NSData+Extensions.m View File

@ -734,7 +734,7 @@ static const char *hexDigit = "0123456789ABCDEF";
return NSOrderedDescending;
}
- (NSMutableArray *) componentsSeparatedByCString: (const char *) theCString
- (NSArray *) componentsSeparatedByCString: (const char *) theCString
{
NSMutableArray *aMutableArray;
NSRange r1, r2;


Loading…
Cancel
Save