You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ti...@apache.org on 2018/04/03 15:22:20 UTC

svn commit: r1828250 - /pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/integration/TestValidFiles.java

Author: tilman
Date: Tue Apr  3 15:22:20 2018
New Revision: 1828250

URL: http://svn.apache.org/viewvc?rev=1828250&view=rev
Log:
PDFBOX-4179: skip when directory name is empty

Modified:
    pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/integration/TestValidFiles.java

Modified: pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/integration/TestValidFiles.java
URL: http://svn.apache.org/viewvc/pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/integration/TestValidFiles.java?rev=1828250&r1=1828249&r2=1828250&view=diff
==============================================================================
--- pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/integration/TestValidFiles.java (original)
+++ pdfbox/trunk/preflight/src/test/java/org/apache/pdfbox/preflight/integration/TestValidFiles.java Tue Apr  3 15:22:20 2018
@@ -79,7 +79,7 @@ public class TestValidFiles
     {
         // find isartor files
         String isartor = System.getProperty(ISARTOR_FILES);
-        if (isartor == null)
+        if (isartor == null || isartor.isEmpty())
         {
             staticLogger.warn(ISARTOR_FILES + " (where are isartor pdf files) is not defined.");
             return stopIfExpected();