Updated dependencies
This commit is contained in:
parent
a06debdae3
commit
b90d1ec5cf
2 changed files with 13 additions and 4 deletions
|
|
@ -84,7 +84,9 @@ public class FileUtil {
|
|||
if(file!=null && file.exists()){
|
||||
return file;
|
||||
}
|
||||
return new File(findURL(path).toURI());
|
||||
URL url = findURL(path);
|
||||
if(url != null)
|
||||
return new File(url.toURI());
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue