diff options
author | stuconnolly <stuart02@gmail.com> | 2013-01-22 17:14:03 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-01-22 17:14:03 +0000 |
commit | 9ab31cc5b60bf0e4519c989a3e9d213da50f888d (patch) | |
tree | 5e2967e092096dd830351a222cfe65d008d41fbd /Source/SPBundleEditorController.m | |
parent | e2cc9e1953a142f182714fb02d7eca028398e368 (diff) | |
download | sequelpro-9ab31cc5b60bf0e4519c989a3e9d213da50f888d.tar.gz sequelpro-9ab31cc5b60bf0e4519c989a3e9d213da50f888d.tar.bz2 sequelpro-9ab31cc5b60bf0e4519c989a3e9d213da50f888d.zip |
Remove useless init and dealloc method comments and perform general tidy up.
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r-- | Source/SPBundleEditorController.m | 81 |
1 files changed, 40 insertions, 41 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m index 0b2b42a5..e12931f3 100644 --- a/Source/SPBundleEditorController.m +++ b/Source/SPBundleEditorController.m @@ -70,9 +70,6 @@ @implementation SPBundleEditorController -/** - * Initialisation - */ - (id)init { @@ -87,44 +84,6 @@ return self; } -- (void)dealloc -{ - [inputGeneralScopePopUpMenu release]; - [inputInputFieldScopePopUpMenu release]; - [inputDataTableScopePopUpMenu release]; - [outputGeneralScopePopUpMenu release]; - [outputInputFieldScopePopUpMenu release]; - [outputDataTableScopePopUpMenu release]; - [inputFallbackInputFieldScopePopUpMenu release]; - [triggerInputFieldPopUpMenu release]; - [triggerDataTablePopUpMenu release]; - [triggerGeneralPopUpMenu release]; - [inputNonePopUpMenu release]; - - [inputGeneralScopeArray release]; - [inputInputFieldScopeArray release]; - [inputDataTableScopeArray release]; - [outputGeneralScopeArray release]; - [outputInputFieldScopeArray release]; - [outputDataTableScopeArray release]; - [inputFallbackInputFieldScopeArray release]; - [triggerInputFieldArray release]; - [triggerDataTableArray release]; - [triggerGeneralArray release]; - [withBlobDataTableArray release]; - - [shellVariableSuggestions release]; - [deletedDefaultBundles release]; - - if (touchedBundleArray) [touchedBundleArray release], touchedBundleArray = nil; - if (commandBundleTree) [commandBundleTree release], commandBundleTree = nil; - if (sortDescriptor) [sortDescriptor release], sortDescriptor = nil; - if (bundlePath) [bundlePath release], bundlePath = nil; - if (esUndoManager) [esUndoManager release], esUndoManager = nil; - - [super dealloc]; -} - - (void)awakeFromNib { @@ -2140,4 +2099,44 @@ [self _updateBundleMetaSummary]; } +#pragma mark - + +- (void)dealloc +{ + [inputGeneralScopePopUpMenu release]; + [inputInputFieldScopePopUpMenu release]; + [inputDataTableScopePopUpMenu release]; + [outputGeneralScopePopUpMenu release]; + [outputInputFieldScopePopUpMenu release]; + [outputDataTableScopePopUpMenu release]; + [inputFallbackInputFieldScopePopUpMenu release]; + [triggerInputFieldPopUpMenu release]; + [triggerDataTablePopUpMenu release]; + [triggerGeneralPopUpMenu release]; + [inputNonePopUpMenu release]; + + [inputGeneralScopeArray release]; + [inputInputFieldScopeArray release]; + [inputDataTableScopeArray release]; + [outputGeneralScopeArray release]; + [outputInputFieldScopeArray release]; + [outputDataTableScopeArray release]; + [inputFallbackInputFieldScopeArray release]; + [triggerInputFieldArray release]; + [triggerDataTableArray release]; + [triggerGeneralArray release]; + [withBlobDataTableArray release]; + + [shellVariableSuggestions release]; + [deletedDefaultBundles release]; + + if (touchedBundleArray) [touchedBundleArray release], touchedBundleArray = nil; + if (commandBundleTree) [commandBundleTree release], commandBundleTree = nil; + if (sortDescriptor) [sortDescriptor release], sortDescriptor = nil; + if (bundlePath) [bundlePath release], bundlePath = nil; + if (esUndoManager) [esUndoManager release], esUndoManager = nil; + + [super dealloc]; +} + @end |