Revision: 29325
http://sourceforge.net/p/bibdesk/svn/29325
Author: hofman
Date: 2025-07-22 14:57:58 +0000 (Tue, 22 Jul 2025)
Log Message:
-----------
allItemsForCiteKey can be nil
Modified Paths:
--------------
trunk/bibdesk/BDSKPublicationsArray.m
Modified: trunk/bibdesk/BDSKPublicationsArray.m
===================================================================
--- trunk/bibdesk/BDSKPublicationsArray.m 2025-07-22 14:43:58 UTC (rev
29324)
+++ trunk/bibdesk/BDSKPublicationsArray.m 2025-07-22 14:57:58 UTC (rev
29325)
@@ -273,10 +273,9 @@
- (NSArray *)allItemsForCiteKey:(NSString *)key;
{
- NSArray *items = nil;
if ([NSString isEmptyString:key] == NO)
- items = [itemsForCiteKeys objectForKey:key];
- return items ?: @[];
+ return [itemsForCiteKeys objectForKey:key];
+ return nil;
}
#pragma mark Items for crossrefs
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