Differences From Artifact [e4f1e2e6e9]:
- File
src/OFGZIPStream.m
— part of check-in
[4af49a13c3]
at
2017-05-07 20:10:13
on branch trunk
— Small code style change
Casts are now written like types in variable declarations. (user: js, size: 5829) [annotate] [blame] [check-ins using]
To Artifact [1028d48dc9]:
- File src/OFGZIPStream.m — part of check-in [469a496cd2] at 2017-05-08 21:37:11 on branch trunk — Add OF_DESIGNATED_INITIALIZER & OF_METHOD_FAMILY (user: js, size: 5865) [annotate] [blame] [check-ins using]
| ︙ | ︙ | |||
26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
#import "OFInvalidFormatException.h"
@implementation OFGZIPStream
+ (instancetype)streamWithStream: (OFStream *)stream
{
return [[[self alloc] initWithStream: stream] autorelease];
}
- initWithStream: (OFStream *)stream
{
self = [super init];
@try {
_stream = [stream retain];
| > > > > > | 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
#import "OFInvalidFormatException.h"
@implementation OFGZIPStream
+ (instancetype)streamWithStream: (OFStream *)stream
{
return [[[self alloc] initWithStream: stream] autorelease];
}
- init
{
OF_INVALID_INIT_METHOD
}
- initWithStream: (OFStream *)stream
{
self = [super init];
@try {
_stream = [stream retain];
|
| ︙ | ︙ |