Check config for null during DL4J Test.
@@ -39,6 +39,9 @@ public class DL4JVGG16NetTest {
return;
}
}
+
+ if(config != null)
+ {
Tika tika = new Tika(config);
Metadata md = new Metadata();
tika.parse(getClass().getResourceAsStream("lion.jpg"), md);
@@ -52,3 +55,4 @@ public class DL4JVGG16NetTest {
assertTrue(found);
}
}
+}
\ No newline at end of file
