Revision: 29016
http://sourceforge.net/p/bibdesk/svn/29016
Author: hofman
Date: 2025-02-17 22:16:32 +0000 (Mon, 17 Feb 2025)
Log Message:
-----------
key of category group is nonnull
Modified Paths:
--------------
trunk/bibdesk/BDSKCategoryGroup.h
trunk/bibdesk/BDSKCategoryGroup.m
Modified: trunk/bibdesk/BDSKCategoryGroup.h
===================================================================
--- trunk/bibdesk/BDSKCategoryGroup.h 2025-02-17 16:48:43 UTC (rev 29015)
+++ trunk/bibdesk/BDSKCategoryGroup.h 2025-02-17 22:16:32 UTC (rev 29016)
@@ -52,9 +52,9 @@
@param aName The name for the group, use nil for the "empty" group.
@param aKey The key for the group.
*/
-- (instancetype)initWithName:(nullable id)aName key:(nullable NSString *)aKey;
+- (instancetype)initWithName:(nullable id)aName key:(NSString *)aKey;
-@property (nonatomic, nullable, readonly) NSString *key;
+@property (nonatomic, readonly) NSString *key;
@property (nonatomic, nullable, strong) id name;
Modified: trunk/bibdesk/BDSKCategoryGroup.m
===================================================================
--- trunk/bibdesk/BDSKCategoryGroup.m 2025-02-17 16:48:43 UTC (rev 29015)
+++ trunk/bibdesk/BDSKCategoryGroup.m 2025-02-17 22:16:32 UTC (rev 29016)
@@ -70,7 +70,7 @@
// super's designated initializer
- (instancetype)initWithName:(id)aName {
- self = [self initWithName:aName key:nil];
+ self = nil;
return self;
}
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