Revision: 29085
http://sourceforge.net/p/bibdesk/svn/29085
Author: hofman
Date: 2025-03-01 17:04:17 +0000 (Sat, 01 Mar 2025)
Log Message:
-----------
fix some nullability qualifiers
Modified Paths:
--------------
trunk/bibdesk/BDSKWebParser.h
trunk/bibdesk/BDSKWebParser.m
Modified: trunk/bibdesk/BDSKWebParser.h
===================================================================
--- trunk/bibdesk/BDSKWebParser.h 2025-03-01 16:55:19 UTC (rev 29084)
+++ trunk/bibdesk/BDSKWebParser.h 2025-03-01 17:04:17 UTC (rev 29085)
@@ -84,7 +84,7 @@
- (void)cancel;
// whether the parsershould finish with success, can be overridden by
subclasses returning items async
-- (BOOL)canFinishWithItems:(NSArray *)items success:(BOOL *)success;
+- (BOOL)canFinishWithItems:(nullable NSArray *)items success:(BOOL *)success;
// this must be implemented by subclasses
+ (BOOL)canParseDocument:(DOMDocument *)domDocument fromURL:(NSURL *)url;
@@ -97,8 +97,8 @@
// information for the parser, to be implemented by the subclasses
@property (class, nonatomic, readonly) NSString *name;
-@property (class, nonatomic, nullable, readonly) NSString *address;
-@property (class, nonatomic, nullable, readonly) NSString *info;
+@property (class, nonatomic, readonly) NSString *address;
+@property (class, nonatomic, readonly) NSString *info;
@property (class, nonatomic, readonly) BDSKParserFeature feature;
// convenience method to return items from a bibtex string
Modified: trunk/bibdesk/BDSKWebParser.m
===================================================================
--- trunk/bibdesk/BDSKWebParser.m 2025-03-01 16:55:19 UTC (rev 29084)
+++ trunk/bibdesk/BDSKWebParser.m 2025-03-01 17:04:17 UTC (rev 29085)
@@ -232,9 +232,9 @@
return name;
}
-+ (NSString *)address { return nil; }
++ (NSString *)address { return @""; }
-+ (NSString *)info { return nil; }
++ (NSString *)info { return @""; }
+ (BDSKParserFeature)feature { return BDSKParserFeaturePublic; }
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