Revision: 27955
http://sourceforge.net/p/bibdesk/svn/27955
Author: hofman
Date: 2022-09-29 14:20:36 +0000 (Thu, 29 Sep 2022)
Log Message:
-----------
don't implement password accessor in serverinfo class
Modified Paths:
--------------
trunk/bibdesk/BDSKServerInfo.h
trunk/bibdesk/BDSKServerInfo.m
Modified: trunk/bibdesk/BDSKServerInfo.h
===================================================================
--- trunk/bibdesk/BDSKServerInfo.h 2022-09-29 06:30:20 UTC (rev 27954)
+++ trunk/bibdesk/BDSKServerInfo.h 2022-09-29 14:20:36 UTC (rev 27955)
@@ -72,7 +72,6 @@
@property (nonatomic, readonly) NSString *database;
@property (nonatomic, readonly) NSString *host;
@property (nonatomic, readonly) NSString *port;
-@property (nonatomic, readonly) NSString *password;
@property (nonatomic, readonly) NSString *username;
@property (nonatomic, readonly) NSString *recordSyntax;
@property (nonatomic, readonly) NSString *resultEncoding;
Modified: trunk/bibdesk/BDSKServerInfo.m
===================================================================
--- trunk/bibdesk/BDSKServerInfo.m 2022-09-29 06:30:20 UTC (rev 27954)
+++ trunk/bibdesk/BDSKServerInfo.m 2022-09-29 14:20:36 UTC (rev 27955)
@@ -81,7 +81,7 @@
@implementation BDSKServerInfo
@synthesize type, name, database;
-@dynamic dictionaryValue, host, port, password, username, recordSyntax,
resultEncoding, queryConfig, removeDiacritics, lite, options, entrez, zoom,
ISI, DBLP, serverType, URLValue;
+@dynamic dictionaryValue, host, port, username, recordSyntax, resultEncoding,
queryConfig, removeDiacritics, lite, options, entrez, zoom, ISI, DBLP,
serverType, URLValue;
+ (BOOL)accessInstanceVariablesDirectly { return NO; }
@@ -244,11 +244,6 @@
- (NSString *)port { return [self isZoom] ? port : nil; }
-- (NSString *)password {
- // don't return password to make it inaccessible by templates
- return nil;
-}
-
- (NSString *)username { return [options objectForKey:USERNAME_KEY]; }
- (NSString *)recordSyntax { return [options objectForKey:RECORDSYNTAX_KEY]; }
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