Revision: 29255
          http://sourceforge.net/p/bibdesk/svn/29255
Author:   hofman
Date:     2025-05-01 11:53:09 +0000 (Thu, 01 May 2025)
Log Message:
-----------
use array literals

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

Modified: trunk/bibdesk/BDSKSearchGroupSheetController.m
===================================================================
--- trunk/bibdesk/BDSKSearchGroupSheetController.m      2025-05-01 11:44:35 UTC 
(rev 29254)
+++ trunk/bibdesk/BDSKSearchGroupSheetController.m      2025-05-01 11:53:09 UTC 
(rev 29255)
@@ -376,17 +376,14 @@
         {
             static NSArray *entrezDatabases = nil;
             if (entrezDatabases == nil)
-                entrezDatabases = [[NSArray alloc] initWithObjects:@"pubmed", 
@"protein", @"nuccore", @"ipg", @"nucleotide", @"structure", @"genome", 
@"annotinfo", @"assembly", @"bioproject", @"biosample", @"blastdbinfo", 
@"books", @"cdd", @"clinvar", @"gap", @"gapplus", @"grasp", @"dbvar", @"gene", 
@"gds", @"geoprofiles", @"homologene", @"medgen", @"mesh", @"nlmcatalog", 
@"omim", @"orgtrack", @"pmc", @"popset", @"proteinclusters", @"pcassay", 
@"protfam", @"pccompound", @"pcsubstance", @"seqannot", @"snp", @"sra", 
@"taxonomy", @"biocollections", @"gtr", nil];
+                entrezDatabases = @[@"pubmed", @"protein", @"nuccore", @"ipg", 
@"nucleotide", @"structure", @"genome", @"annotinfo", @"assembly", 
@"bioproject", @"biosample", @"blastdbinfo", @"books", @"cdd", @"clinvar", 
@"gap", @"gapplus", @"grasp", @"dbvar", @"gene", @"gds", @"geoprofiles", 
@"homologene", @"medgen", @"mesh", @"nlmcatalog", @"omim", @"orgtrack", @"pmc", 
@"popset", @"proteinclusters", @"pcassay", @"protfam", @"pccompound", 
@"pcsubstance", @"seqannot", @"snp", @"sra", @"taxonomy", @"biocollections", 
@"gtr"];
             return entrezDatabases;
         }
-        case BDSKServerTypeZoom:
-        case BDSKServerTypeSRU:
-            return @[];
         case BDSKServerTypeDBLP:
         {
             static NSArray *dblpDatabases = nil;
             if (dblpDatabases == nil)
-                dblpDatabases = [[NSArray alloc] 
initWithObjects:@"Publications", @"Authors", nil];
+                dblpDatabases = @[@"Publications", @"Authors"];
             return dblpDatabases;
         }
         case BDSKServerTypeISI:
@@ -393,7 +390,7 @@
         {
             static NSArray *zoomDatabases = nil;
             if (zoomDatabases == nil)
-                zoomDatabases = [[NSArray alloc] initWithObjects:@"WOK", 
@"WOS", @"WOS SCI", @"WOS SSCI", @"WOS AHCI", @"WOS BSCI", @"WOS BHCI", @"WOS 
ISTP", @"WOS ISSHP", @"WOS ESCI", @"WOS IC", @"WOS CCR", nil];
+                zoomDatabases = @[@"WOK", @"WOS", @"WOS SCI", @"WOS SSCI", 
@"WOS AHCI", @"WOS BSCI", @"WOS BHCI", @"WOS ISTP", @"WOS ISSHP", @"WOS ESCI", 
@"WOS IC", @"WOS CCR"];
             return zoomDatabases;
         }
         default:

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