mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
show number of files
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user