aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.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/SPTableContent.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/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m18
1 files changed, 5 insertions, 13 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 94e86694..9c03618e 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -102,24 +102,22 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
#pragma mark -
-/**
- * Standard init method. Initialize various ivars.
- */
- (id)init
{
if ((self = [super init])) {
_mainNibLoaded = NO;
isWorking = NO;
+
pthread_mutex_init(&tableValuesLock, NULL);
#ifndef SP_REFACTOR
nibObjectsToRelease = [[NSMutableArray alloc] init];
#endif
- tableValues = [[SPDataStorage alloc] init];
- dataColumns = [[NSMutableArray alloc] init];
- oldRow = [[NSMutableArray alloc] init];
+ tableValues = [[SPDataStorage alloc] init];
+ dataColumns = [[NSMutableArray alloc] init];
+ oldRow = [[NSMutableArray alloc] init];
#ifndef SP_REFACTOR
- filterTableData = [[NSMutableDictionary alloc] initWithCapacity:1];
+ filterTableData = [[NSMutableDictionary alloc] initWithCapacity:1];
#endif
tableRowsCount = 0;
@@ -202,9 +200,6 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
return self;
}
-/**
- * Initialise various interface controls
- */
- (void)awakeFromNib
{
if (_mainNibLoaded) return;
@@ -4265,9 +4260,6 @@ static NSString *SPTableFilterSetDefaultOperator = @"SPTableFilterSetDefaultOper
#pragma mark -
-/**
- * dealloc
- */
- (void)dealloc
{
[[NSNotificationCenter defaultCenter] removeObserver:self];