aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2013-01-22 17:14:03 +0000
committerstuconnolly <stuart02@gmail.com>2013-01-22 17:14:03 +0000
commit9ab31cc5b60bf0e4519c989a3e9d213da50f888d (patch)
tree5e2967e092096dd830351a222cfe65d008d41fbd /Source/SPTablesList.m
parente2cc9e1953a142f182714fb02d7eca028398e368 (diff)
downloadsequelpro-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/SPTablesList.m')
-rw-r--r--Source/SPTablesList.m43
1 files changed, 17 insertions, 26 deletions
diff --git a/Source/SPTablesList.m b/Source/SPTablesList.m
index 41551114..93ebfe91 100644
--- a/Source/SPTablesList.m
+++ b/Source/SPTablesList.m
@@ -111,9 +111,6 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable";
#pragma mark -
#pragma mark Initialisation
-/**
- * Standard init method. Performs various ivar initialisations.
- */
- (id)init
{
if ((self = [super init])) {
@@ -136,9 +133,6 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable";
return self;
}
-/**
- * Standard awakeFromNib method for interface loading.
- */
- (void)awakeFromNib
{
#ifndef SP_REFACTOR
@@ -2046,26 +2040,6 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable";
#endif
#pragma mark -
-
-/**
- * Standard dealloc method.
- */
-- (void)dealloc
-{
- [[NSNotificationCenter defaultCenter] removeObserver:self];
-
- [tables release];
- [tableTypes release];
-#ifndef SP_REFACTOR
- if (isTableListFiltered && filteredTables) [filteredTables release];
- if (isTableListFiltered && filteredTableTypes) [filteredTableTypes release];
-#endif
- if (selectedTableName) [selectedTableName release];
-
- [super dealloc];
-}
-
-#pragma mark -
#pragma mark Private API
/**
@@ -2613,4 +2587,21 @@ static NSString *SPDuplicateTable = @"SPDuplicateTable";
[NSException raise:@"Object of unknown type" format:NSLocalizedString(@"An error occured while renaming. '%@' is of an unknown type.", @"rename error - don't know what type the renamed thing is"), oldTableName];
}
+#pragma mark -
+
+- (void)dealloc
+{
+ [[NSNotificationCenter defaultCenter] removeObserver:self];
+
+ [tables release];
+ [tableTypes release];
+#ifndef SP_REFACTOR
+ if (isTableListFiltered && filteredTables) [filteredTables release];
+ if (isTableListFiltered && filteredTableTypes) [filteredTableTypes release];
+#endif
+ if (selectedTableName) [selectedTableName release];
+
+ [super dealloc];
+}
+
@end