Commit e4679092 authored by Jesper Öqvist's avatar Jesper Öqvist
Browse files

Removed redundant existence check for pkg folders

parent de4cb9de
......@@ -141,7 +141,7 @@ aspect PathPart {
if (!packageMap.containsKey(packageName)) {
File pkgFolder = new File(folder, packageName.replace('.', File.separatorChar));
Collection<String> c = Collections.emptyList();
if (pkgFolder.exists() && pkgFolder.isDirectory()) {
if (pkgFolder.isDirectory()) {
String[] files = pkgFolder.list();
if (files.length > 0) {
c = new HashSet();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment