Revision: 29232
          http://sourceforge.net/p/bibdesk/svn/29232
Author:   hofman
Date:     2025-04-28 19:03:09 +0000 (Mon, 28 Apr 2025)
Log Message:
-----------
don't rename method as the compiler gets confused

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

Modified: trunk/bibdesk/BDSKSearchGroup.m
===================================================================
--- trunk/bibdesk/BDSKSearchGroup.m     2025-04-28 19:01:44 UTC (rev 29231)
+++ trunk/bibdesk/BDSKSearchGroup.m     2025-04-28 19:03:09 UTC (rev 29232)
@@ -65,7 +65,7 @@
 static NSMapTable *BDSKSearchGroupURLQueryKeys = nil;
 
 @interface BDSKSearchGroup ()
-+ (id<BDSKSearchGroupServer>)newServerWithGroup:(id<BDSKSearchGroup>)group 
serverInfo:(BDSKServerInfo *)info;
++ (id<BDSKSearchGroupServer>)copyServerWithGroup:(id<BDSKSearchGroup>)group 
serverInfo:(BDSKServerInfo *)info;
 - (void)resetServerWithInfo:(BDSKServerInfo *)info;
 @end
 
@@ -252,7 +252,7 @@
 
 - (void)resetServerWithInfo:(BDSKServerInfo *)info {
     [server terminate];
-    server = [[self class] newServerWithGroup:self serverInfo:info];
+    server = [[self class] copyServerWithGroup:self serverInfo:info];
 }
 
 - (void)search;
@@ -427,7 +427,7 @@
     return dictionary;
 }
 
-+ (id<BDSKSearchGroupServer>)newServerWithGroup:(id<BDSKSearchGroup>)group 
serverInfo:(BDSKServerInfo *)info {
++ (id<BDSKSearchGroupServer>)copyServerWithGroup:(id<BDSKSearchGroup>)group 
serverInfo:(BDSKServerInfo *)info {
     NSString *aType = [info type];
     Class serverClass = Nil;
     if ([aType isEqualToString:BDSKSearchGroupEntrez])
@@ -471,7 +471,7 @@
 }
 
 - (void)searchUsingSearchTerm:(NSString *)searchTerm 
serverInfo:(BDSKServerInfo *)serverInfo completionHandler:(void(^)(NSArray 
*publications))aCompletionHandler {
-    server = [BDSKSearchGroup newServerWithGroup:self serverInfo:serverInfo];
+    server = [BDSKSearchGroup copyServerWithGroup:self serverInfo:serverInfo];
     
     completionHandler = [aCompletionHandler copy];
     

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