From 9ab31cc5b60bf0e4519c989a3e9d213da50f888d Mon Sep 17 00:00:00 2001 From: stuconnolly Date: Tue, 22 Jan 2013 17:14:03 +0000 Subject: Remove useless init and dealloc method comments and perform general tidy up. --- Source/SPDocumentController.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/SPDocumentController.m') diff --git a/Source/SPDocumentController.m b/Source/SPDocumentController.m index f843155a..afc0e9a5 100644 --- a/Source/SPDocumentController.m +++ b/Source/SPDocumentController.m @@ -34,13 +34,11 @@ @implementation SPDocumentController - /** * This is an empty, dummy implementation; this allows Sequel Pro to behave * as if it were a document-based application. */ - /** * Add a dummy implementation of readFromData:ofType:error:, which appears to * be called by the OS in certain situations despite non-document use. @@ -51,6 +49,7 @@ if (outError) { *outError = [NSError errorWithDomain:NSOSStatusErrorDomain code:unimpErr userInfo:NULL]; } + return YES; } @@ -62,6 +61,7 @@ if (outError) { *outError = [NSError errorWithDomain:NSOSStatusErrorDomain code:unimpErr userInfo:NULL]; } + return nil; } -- cgit v1.2.3