@@ -145,16 +145,16 @@ + (instancetype)entryWithFileName: (OFString *)fileName { return [[[self alloc] initWithFileName: fileName] autorelease]; } -- init +- (instancetype)init { OF_INVALID_INIT_METHOD } -- initWithFileName: (OFString *)fileName +- (instancetype)initWithFileName: (OFString *)fileName { self = [super init]; @try { void *pool = objc_autoreleasePoolPush(); @@ -269,16 +269,16 @@ [_fileComment release]; [super dealloc]; } -- copy +- (id)copy { return [self retain]; } -- mutableCopy +- (id)mutableCopy { OFZIPArchiveEntry *copy = [[OFMutableZIPArchiveEntry alloc] initWithFileName: _fileName]; @try {