adium/adium

b963405c7eaa
Parents 4ca40d9eb4b6
Children a3d9cc0cde76
Looks like these don't need to be mutable.
--- a/Frameworks/Adium Framework/Source/AIAbstractListController.m Wed Jun 12 17:20:42 2013 -0400
+++ b/Frameworks/Adium Framework/Source/AIAbstractListController.m Wed Jun 12 17:28:08 2013 -0400
@@ -698,7 +698,7 @@
{
BOOL isGroup = [listObject isKindOfClass:[AIListGroup class]];
- NSMutableArray *locationsArray = [NSArray arrayWithObjects:
+ NSArray *locationsArray = [NSArray arrayWithObjects:
[NSNumber numberWithInt:(isGroup ? Context_Group_Manage : Context_Contact_Manage)],
[NSNumber numberWithInt:(isGroup ? Context_Group_AttachDetach : Context_Contact_AttachDetach)],
[NSNumber numberWithInt:Context_Contact_Action],
--- a/Source/AILogViewerWindowController.m Wed Jun 12 17:20:42 2013 -0400
+++ b/Source/AILogViewerWindowController.m Wed Jun 12 17:28:08 2013 -0400
@@ -1008,7 +1008,7 @@
NSRange searchRange, foundRange;
NSString *plainBigString = [bigString string];
NSUInteger plainBigStringLength = [plainBigString length];
- NSMutableDictionary *attributeDictionary = nil;
+ NSDictionary *attributeDictionary = nil;
outRange->location = NSNotFound;
--- a/Source/AISCLViewPlugin.m Wed Jun 12 17:20:42 2013 -0400
+++ b/Source/AISCLViewPlugin.m Wed Jun 12 17:28:08 2013 -0400
@@ -522,8 +522,8 @@
NSMutableArray *detachedWindowsDicts = [[NSMutableArray alloc] init];
for (AIListWindowController *windowController in [contactLists copy]) {
- NSMutableDictionary *dict = [NSDictionary dictionaryWithObject:[[[windowController contactList] containedObjects] valueForKey:@"UID"]
- forKey:DETACHED_WINDOW_GROUPS];
+ NSDictionary *dict = [NSDictionary dictionaryWithObject:[[[windowController contactList] containedObjects] valueForKey:@"UID"]
+ forKey:DETACHED_WINDOW_GROUPS];
[detachedWindowsDicts addObject:dict];
[self closeContactList:windowController];
}