@@ -171,18 +171,18 @@ @throw [OFInitializationFailedException exceptionWithClass: self]; } #endif -+ fileWithPath: (OFString*)path - mode: (OFString*)mode ++ (instancetype)fileWithPath: (OFString*)path + mode: (OFString*)mode { return [[[self alloc] initWithPath: path mode: mode] autorelease]; } -+ fileWithFileDescriptor: (int)filedescriptor ++ (instancetype)fileWithFileDescriptor: (int)filedescriptor { return [[[self alloc] initWithFileDescriptor: filedescriptor] autorelease]; }