Revision: 29611
          http://sourceforge.net/p/bibdesk/svn/29611
Author:   hofman
Date:     2025-09-19 16:55:58 +0000 (Fri, 19 Sep 2025)
Log Message:
-----------
rename method parameter to be clear

Modified Paths:
--------------
    trunk/bibdesk/BDSKWebIconDatabase.h
    trunk/bibdesk/BDSKWebIconDatabase.m

Modified: trunk/bibdesk/BDSKWebIconDatabase.h
===================================================================
--- trunk/bibdesk/BDSKWebIconDatabase.h 2025-09-19 16:53:23 UTC (rev 29610)
+++ trunk/bibdesk/BDSKWebIconDatabase.h 2025-09-19 16:55:58 UTC (rev 29611)
@@ -51,8 +51,8 @@
 @property (class, nonatomic, readonly) BDSKWebIconDatabase *sharedDatabase;
 
 - (nullable NSImage *)iconForURLString:(NSString *)pageURLString;
-- (nullable NSImage *)recentIconForURLString:(NSString *)aURLString;
-- (nullable NSImage *)recentIconForIconURLString:(NSString *)aURLString;
+- (nullable NSImage *)recentIconForURLString:(NSString *)pageURLString;
+- (nullable NSImage *)recentIconForIconURLString:(NSString *)iconURLString;
 
 - (void)setIcon:(NSImage *)icon withData:(nullable NSData *)data 
fromURLString:(NSString *)iconURLString forURLString:(NSString *)pageURLString 
originalURLString:(nullable NSString *)originalURLString;
 

Modified: trunk/bibdesk/BDSKWebIconDatabase.m
===================================================================
--- trunk/bibdesk/BDSKWebIconDatabase.m 2025-09-19 16:53:23 UTC (rev 29610)
+++ trunk/bibdesk/BDSKWebIconDatabase.m 2025-09-19 16:55:58 UTC (rev 29611)
@@ -124,14 +124,14 @@
     return icon;
 }
 
-- (NSImage *)recentIconForURLString:(NSString *)aURLString {
-    aURLString = URLStringByRemovingFragment(aURLString);
-    if ([NSString isEmptyString:aURLString])
+- (NSImage *)recentIconForURLString:(NSString *)pageURLString {
+    pageURLString = URLStringByRemovingFragment(pageURLString);
+    if ([NSString isEmptyString:pageURLString])
         return nil;
-    NSImage *icon = [recentPageIcons objectForKey:aURLString];
+    NSImage *icon = [recentPageIcons objectForKey:pageURLString];
     if (icon == nil)
         return nil;
-    [[pages objectForKey:aURLString] setObject:[NSDate date] 
forKey:LASTVISITED_KEY];
+    [[pages objectForKey:pageURLString] setObject:[NSDate date] 
forKey:LASTVISITED_KEY];
     return icon;
 }
 

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

Reply via email to