aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
diff options
context:
space:
mode:
authorMax <post@wickenrode.com>2014-12-13 03:12:41 +0100
committerMax <post@wickenrode.com>2014-12-13 03:44:31 +0100
commit3cf0254e55d558565775e6cb20d36ea7e54beca1 (patch)
tree38842cf51bdfd2b28c74dba86646bc6523c767fc /Source/SPConnectionController.m
parent4ad26db45b46d8267fcb5203571b81bc8949b853 (diff)
downloadsequelpro-3cf0254e55d558565775e6cb20d36ea7e54beca1.tar.gz
sequelpro-3cf0254e55d558565775e6cb20d36ea7e54beca1.tar.bz2
sequelpro-3cf0254e55d558565775e6cb20d36ea7e54beca1.zip
Replace boxed integers in code with @ literals
Diffstat (limited to 'Source/SPConnectionController.m')
-rw-r--r--Source/SPConnectionController.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPConnectionController.m b/Source/SPConnectionController.m
index a91f6929..905975dc 100644
--- a/Source/SPConnectionController.m
+++ b/Source/SPConnectionController.m
@@ -781,11 +781,11 @@ static NSComparisonResult _compareFavoritesUsingKey(id favorite1, id favorite2,
NSArray *objects = [NSArray arrayWithObjects:
NSLocalizedString(@"New Favorite", @"new favorite name"),
- [NSNumber numberWithInteger:0],
+ @0,
@"",
@"",
@"",
- [NSNumber numberWithInteger:-1],
+ @(-1),
@"",
[NSNumber numberWithInt:NSOffState],
[NSNumber numberWithInt:NSOffState],