aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPIndexesController.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/SPIndexesController.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/SPIndexesController.m')
-rw-r--r--Source/SPIndexesController.m25
1 files changed, 8 insertions, 17 deletions
diff --git a/Source/SPIndexesController.m b/Source/SPIndexesController.m
index f2a26ef1..bd226560 100644
--- a/Source/SPIndexesController.m
+++ b/Source/SPIndexesController.m
@@ -78,9 +78,6 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
#pragma mark -
-/**
- * Init.
- */
- (id)init
{
#ifndef SP_REFACTOR
@@ -121,9 +118,6 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
return self;
}
-/**
- * Nib awakening.
- */
- (void)awakeFromNib
{
// As this controller also loads its own nib, it may call awakeFromNib multiple times; perform setup only once.
@@ -159,7 +153,7 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
}
#pragma mark -
-#pragma mark IBAction methods
+#pragma mark IB action methods
/**
* Opens the add new index sheet.
@@ -586,6 +580,13 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[indexes setArray:tableIndexes];
}
+#ifdef SP_REFACTOR
+- (void)setDatabaseDocument:(SPDatabaseDocument*)db
+{
+ dbDocument = db;
+}
+#endif
+
#pragma mark -
#pragma mark Other methods
@@ -1076,9 +1077,6 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
#pragma mark -
-/**
- * Dealloc.
- */
- (void)dealloc
{
[table release], table = nil;
@@ -1097,11 +1095,4 @@ static const NSString *SPNewIndexKeyBlockSize = @"IndexKeyBlockSize";
[super dealloc];
}
-#ifdef SP_REFACTOR
-- (void)setDatabaseDocument:(SPDatabaseDocument*)db
-{
- dbDocument = db;
-}
-#endif
-
@end