Revision: 27949
          http://sourceforge.net/p/bibdesk/svn/27949
Author:   hofman
Date:     2022-09-28 09:14:11 +0000 (Wed, 28 Sep 2022)
Log Message:
-----------
combine code lines

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

Modified: trunk/bibdesk/BDSKServerInfo.m
===================================================================
--- trunk/bibdesk/BDSKServerInfo.m      2022-09-28 09:04:11 UTC (rev 27948)
+++ trunk/bibdesk/BDSKServerInfo.m      2022-09-28 09:14:11 UTC (rev 27949)
@@ -168,17 +168,15 @@
 }
 
 - (id)copyWithZone:(NSZone *)aZone {
-    id copy = nil;
     [passwordLock lockForReading];
-    copy = [[BDSKServerInfo allocWithZone:aZone] initWithType:[self type] 
name:[self name] database:[self database] host:[self host] port:[self port] 
options:options password:password passwordInKeychain:passwordInKeychain];
+    id copy = [[BDSKServerInfo allocWithZone:aZone] initWithType:[self type] 
name:[self name] database:[self database] host:[self host] port:[self port] 
options:options password:password passwordInKeychain:passwordInKeychain];
     [passwordLock unlock];
     return copy;
 }
 
 - (id)mutableCopyWithZone:(NSZone *)aZone {
-    id copy = nil;
     [passwordLock lockForReading];
-    copy = [[BDSKMutableServerInfo allocWithZone:aZone] initWithType:[self 
type] name:[self name] database:[self database] host:[self host] port:[self 
port] options:options password:password passwordInKeychain:passwordInKeychain];
+    id copy = [[BDSKMutableServerInfo allocWithZone:aZone] initWithType:[self 
type] name:[self name] database:[self database] host:[self host] port:[self 
port] options:options password:password passwordInKeychain:passwordInKeychain];
     [passwordLock unlock];
     return copy;
 }

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