aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryFavoriteManager.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/SPQueryFavoriteManager.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/SPQueryFavoriteManager.m')
-rw-r--r--Source/SPQueryFavoriteManager.m22
1 files changed, 14 insertions, 8 deletions
diff --git a/Source/SPQueryFavoriteManager.m b/Source/SPQueryFavoriteManager.m
index 36740ca7..485aa3ff 100644
--- a/Source/SPQueryFavoriteManager.m
+++ b/Source/SPQueryFavoriteManager.m
@@ -46,7 +46,7 @@
#define SP_Int(x) [NSNumber numberWithInteger:x]
-@interface SPQueryFavoriteManager (Private)
+@interface SPQueryFavoriteManager ()
- (void)_initWithNoSelection;
@@ -55,7 +55,7 @@
@implementation SPQueryFavoriteManager
/**
- * Initialize the manager with the supplied delegate
+ * Initialize the manager with the supplied delegate.
*/
- (id)initWithDelegate:(id)managerDelegate
{
@@ -79,12 +79,6 @@
return self;
}
-- (void)dealloc
-{
- [favorites release];
- [super dealloc];
-}
-
/**
* Upon awakening bind the query text view's background colour.
*/
@@ -937,6 +931,9 @@
#endif
}
+#pragma mark -
+#pragma mark Private API
+
- (void)_initWithNoSelection
{
[favoritesTableView selectRowIndexes:[NSIndexSet indexSet] byExtendingSelection:NO];
@@ -945,4 +942,13 @@
[favoriteQueryTextView setString:@""];
}
+#pragma mark -
+
+- (void)dealloc
+{
+ [favorites release];
+
+ [super dealloc];
+}
+
@end