diff options
author | stuconnolly <stuart02@gmail.com> | 2013-01-22 17:14:03 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2013-01-22 17:14:03 +0000 |
commit | 9ab31cc5b60bf0e4519c989a3e9d213da50f888d (patch) | |
tree | 5e2967e092096dd830351a222cfe65d008d41fbd /Source/SPExtendedTableInfo.m | |
parent | e2cc9e1953a142f182714fb02d7eca028398e368 (diff) | |
download | sequelpro-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/SPExtendedTableInfo.m')
-rw-r--r-- | Source/SPExtendedTableInfo.m | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/Source/SPExtendedTableInfo.m b/Source/SPExtendedTableInfo.m index 6f4f9ae8..83aa059c 100644 --- a/Source/SPExtendedTableInfo.m +++ b/Source/SPExtendedTableInfo.m @@ -605,20 +605,6 @@ static NSString *SPUpdateTableTypeNewType = @"SPUpdateTableTypeNewType"; } #pragma mark - - -/** - * Release connection. - */ -- (void)dealloc -{ - [[NSNotificationCenter defaultCenter] removeObserver:self]; - - [connection release], connection = nil; - - [super dealloc]; -} - -#pragma mark - #pragma mark Private API /** @@ -706,4 +692,15 @@ static NSString *SPUpdateTableTypeNewType = @"SPUpdateTableTypeNewType"; return ([value length] > 0) ? value : NSLocalizedString(@"Not available", @"not available label"); } +#pragma mark - + +- (void)dealloc +{ + [[NSNotificationCenter defaultCenter] removeObserver:self]; + + [connection release], connection = nil; + + [super dealloc]; +} + @end |