Cleaned FileUtil
This commit is contained in:
parent
897c4a83cb
commit
8d84ff1b44
@ -907,7 +907,7 @@ class FileUtil {
|
|||||||
List<File> jarList = new LinkedList<File>();
|
List<File> jarList = new LinkedList<File>();
|
||||||
LinkedList<File> directories = new LinkedList<File>();
|
LinkedList<File> directories = new LinkedList<File>();
|
||||||
|
|
||||||
rootDirectory = FileUtil.normalize(rootDirectory.getAbsoluteFile());
|
rootDirectory = FileUtil.normalize(rootDirectory);
|
||||||
|
|
||||||
if (!rootDirectory.exists()) {
|
if (!rootDirectory.exists()) {
|
||||||
throw new IOException("Location does not exist: " + rootDirectory.getAbsolutePath());
|
throw new IOException("Location does not exist: " + rootDirectory.getAbsolutePath());
|
||||||
|
Loading…
Reference in New Issue
Block a user