Revision: 22008
          http://sourceforge.net/p/bibdesk/svn/22008
Author:   hofman
Date:     2018-02-22 15:24:54 +0000 (Thu, 22 Feb 2018)
Log Message:
-----------
do assert later

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

Modified: trunk/bibdesk/BDSKWebParser.m
===================================================================
--- trunk/bibdesk/BDSKWebParser.m       2018-02-22 15:06:10 UTC (rev 22007)
+++ trunk/bibdesk/BDSKWebParser.m       2018-02-22 15:24:54 UTC (rev 22008)
@@ -126,8 +126,6 @@
             break;
     }
     
-    BDSKASSERT(parserClass == Nil || [parserClass 
isSubclassOfClass:[BDSKWebParser class]]);
-    
     // this may lead to some false negatives if the heuristics for 
canParseDocument::: change.
     if (Nil == parserClass) {
         if (outError) {
@@ -137,6 +135,8 @@
         return nil;
     }
     
+    BDSKASSERT([parserClass isSubclassOfClass:[BDSKWebParser class]]);
+
     return [[[parserClass alloc] initWithDocument:domDocument 
xmlDocument:xmlDoc fromURL:url] autorelease];
 }
 

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bibdesk-commit mailing list
Bibdesk-commit@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to