aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPProcessListController.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/SPProcessListController.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/SPProcessListController.m')
-rw-r--r--Source/SPProcessListController.m41
1 files changed, 16 insertions, 25 deletions
diff --git a/Source/SPProcessListController.m b/Source/SPProcessListController.m
index ec795116..7540ed43 100644
--- a/Source/SPProcessListController.m
+++ b/Source/SPProcessListController.m
@@ -66,9 +66,6 @@ static NSString *SPTableViewIDColumnIdentifier = @"Id";
#pragma mark -
#pragma mark Initialisation
-/**
- * Initialisation
- */
- (id)init
{
if ((self = [super initWithWindowNibName:@"DatabaseProcessList"])) {
@@ -88,9 +85,6 @@ static NSString *SPTableViewIDColumnIdentifier = @"Id";
return self;
}
-/**
- * Interface initialisation
- */
- (void)awakeFromNib
{
[[self window] setTitle:[NSString stringWithFormat:NSLocalizedString(@"Server Processes on %@", @"server processes window title (var = hostname)"),[[(SPAppController*)[NSApp delegate] frontDocument] name]]];
@@ -133,7 +127,7 @@ static NSString *SPTableViewIDColumnIdentifier = @"Id";
}
#pragma mark -
-#pragma mark IBAction methods
+#pragma mark IB action methods
/**
* Copies the currently selected process(es) to the pasteboard.
@@ -583,24 +577,6 @@ static NSString *SPTableViewIDColumnIdentifier = @"Id";
}
#pragma mark -
-
-/**
- * Dealloc
- */
-- (void)dealloc
-{
- [prefs removeObserver:self forKeyPath:SPUseMonospacedFonts];
-
- processListThreadRunning = NO;
-
- [processes release], processes = nil;
-
- if (autoRefreshTimer) [autoRefreshTimer release], autoRefreshTimer = nil;
-
- [super dealloc];
-}
-
-#pragma mark -
#pragma mark Private API
/**
@@ -848,4 +824,19 @@ static NSString *SPTableViewIDColumnIdentifier = @"Id";
[saveProcessesButton setTitle:NSLocalizedString(@"Save View As...", @"save view as button title")];
}
+#pragma mark -
+
+- (void)dealloc
+{
+ [prefs removeObserver:self forKeyPath:SPUseMonospacedFonts];
+
+ processListThreadRunning = NO;
+
+ [processes release], processes = nil;
+
+ if (autoRefreshTimer) [autoRefreshTimer release], autoRefreshTimer = nil;
+
+ [super dealloc];
+}
+
@end