removed unnecessary check
This commit is contained in:
parent
bb11af20fd
commit
7858ba9717
|
@ -436,8 +436,6 @@ public class ValidationEngine implements IValidatorResourceFetcher {
|
||||||
|
|
||||||
File f = new File(Utilities.path(src));
|
File f = new File(Utilities.path(src));
|
||||||
if (f.exists()) {
|
if (f.exists()) {
|
||||||
if(isIgnoreFile(f))
|
|
||||||
return null;
|
|
||||||
if (f.isDirectory() && new File(Utilities.path(src, "package.tgz")).exists())
|
if (f.isDirectory() && new File(Utilities.path(src, "package.tgz")).exists())
|
||||||
return loadPackage(new FileInputStream(Utilities.path(src, "package.tgz")), Utilities.path(src, "package.tgz"));
|
return loadPackage(new FileInputStream(Utilities.path(src, "package.tgz")), Utilities.path(src, "package.tgz"));
|
||||||
if (f.isDirectory() && new File(Utilities.path(src, "igpack.zip")).exists())
|
if (f.isDirectory() && new File(Utilities.path(src, "igpack.zip")).exists())
|
||||||
|
|
Loading…
Reference in New Issue