show number of files

This commit is contained in:
Alexey Kudravtsev
2016-01-20 12:55:28 +03:00
parent 0a089cfe1f
commit ea91790b89
@@ -396,8 +396,9 @@ public class FileUtilRt {
boolean success = isDirectory ? f.mkdir() : f.createNewFile();
if (!success) {
throw new IOException("Unable to create temporary file " + f + "\nDirectory '" +f.getParentFile()+
"' list: " + Arrays.asList(f.getParentFile().list()));
List<String> list = Arrays.asList(f.getParentFile().list());
throw new IOException("Unable to create temporary file " + f + "\nDirectory '" + f.getParentFile() +
"' list ("+list.size()+" children): " + list);
}
return normalizeFile(f);