Revision: 23937
          http://sourceforge.net/p/bibdesk/svn/23937
Author:   hofman
Date:     2019-07-03 17:52:39 +0000 (Wed, 03 Jul 2019)
Log Message:
-----------
no need to create default values explicitly

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

Modified: trunk/bibdesk/BibDocument.m
===================================================================
--- trunk/bibdesk/BibDocument.m 2019-07-03 17:49:05 UTC (rev 23936)
+++ trunk/bibdesk/BibDocument.m 2019-07-03 17:52:39 UTC (rev 23937)
@@ -2120,8 +2120,6 @@
     if ([[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKDownloadImportedURLsKey]) {
         BOOL replace = [[NSUserDefaults standardUserDefaults] 
boolForKey:BDSKReplaceDownloadedURLsKey];
         NSArray *types = [[NSUserDefaults standardUserDefaults] 
stringArrayForKey:BDSKURLTypesToDownloadKey];
-        if ([types count] == 0)
-            types = [NSArray arrayWithObjects:@"pdf", @"ps", @"doc", @"docx", 
@"odt", nil];
         for (pub in newPubs) {
             if (useLocalUrlAndUrl) {
                 if ([pub canDownloadUrl] && [types containsObject:[[[pub 
remoteURLForField:BDSKUrlString] pathExtension] lowercaseString] ?: @""])

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