Revision: 28917
          http://sourceforge.net/p/bibdesk/svn/28917
Author:   hofman
Date:     2024-05-16 17:59:31 +0000 (Thu, 16 May 2024)
Log Message:
-----------
no need for array to be mutable

Modified Paths:
--------------
    trunk/bibdesk/BDSKTreeNode.m

Modified: trunk/bibdesk/BDSKTreeNode.m
===================================================================
--- trunk/bibdesk/BDSKTreeNode.m        2024-05-16 17:34:04 UTC (rev 28916)
+++ trunk/bibdesk/BDSKTreeNode.m        2024-05-16 17:59:31 UTC (rev 28917)
@@ -85,7 +85,7 @@
 - (id)copyWithZone:(NSZone *)aZone;
 {
     // deep copy the array of children, since the copy could modify the 
original
-    NSMutableArray *newChildren = [[NSMutableArray alloc] initWithArray:[self 
children] copyItems:YES];
+    NSArray *newChildren = [[NSArray alloc] initWithArray:[self children] 
copyItems:YES];
     BDSKTreeNode *node = [[[self class] alloc] 
initWithColumnValues:columnValues children:newChildren];
     return node;
 }

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to