bugfix showing empty local folders as empty and not showing the parent folder in an empty folder

This commit is contained in:
Andy Scherzinger 2016-08-30 16:52:01 +02:00
parent 303b05a3a6
commit 2fafdcf9ca

View file

@ -327,7 +327,7 @@ public class FileStorageUtils {
}
});
File[] returnArray = new File[1];
File[] returnArray = new File[files.size()];
return files.toArray(returnArray);
}
@ -386,7 +386,7 @@ public class FileStorageUtils {
}
});
File[] returnArray = new File[1];
File[] returnArray = new File[files.size()];
return files.toArray(returnArray);
}
@ -436,7 +436,7 @@ public class FileStorageUtils {
}
});
File[] returnArray = new File[1];
File[] returnArray = new File[files.size()];
return files.toArray(returnArray);
}