@@ -74,11 +74,11 @@ + (instancetype)entryWithFileName: (OFString *)fileName { return [[[self alloc] initWithFileName: fileName] autorelease]; } -- init +- (instancetype)init { OF_INVALID_INIT_METHOD } - (instancetype)of_initWithHeader: (unsigned char [512])header @@ -139,11 +139,11 @@ } return self; } -- initWithFileName: (OFString *)fileName +- (instancetype)initWithFileName: (OFString *)fileName { self = [super init]; @try { _fileName = [fileName copy]; @@ -166,16 +166,16 @@ [_group release]; [super dealloc]; } -- copy +- (id)copy { return [self retain]; } -- mutableCopy +- (id)mutableCopy { OFTarArchiveEntry *copy = [[OFMutableTarArchiveEntry alloc] initWithFileName: _fileName]; @try {