Revision: 29914
http://sourceforge.net/p/bibdesk/svn/29914
Author: hofman
Date: 2025-11-30 17:08:24 +0000 (Sun, 30 Nov 2025)
Log Message:
-----------
no need for intermediate set
Modified Paths:
--------------
trunk/bibdesk/BibItem.m
Modified: trunk/bibdesk/BibItem.m
===================================================================
--- trunk/bibdesk/BibItem.m 2025-11-30 17:05:20 UTC (rev 29913)
+++ trunk/bibdesk/BibItem.m 2025-11-30 17:08:24 UTC (rev 29914)
@@ -386,11 +386,9 @@
if ([keys count] == 0) {
// this is a type we don't know, just compare all fields
- NSMutableSet *set = [NSMutableSet set];
- [set addObjectsFromArray:[self allFieldNames]];
- [set addObjectsFromArray:[aBI allFieldNames]];
- [set removeObject:BDSKColorString];
- [keys addObjectsFromArray:[set allObjects]];
+ [keys addObjectsFromArray:[self allFieldNames]];
+ [keys addObjectsFromArray:[aBI allFieldNames]];
+ [keys removeObject:BDSKColorString];
}
[keys removeObject:BDSKLocalUrlString];
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit