5 Dec
2015
5 Dec
'15
11:19 a.m.
Hi, In multiples places in nuiton-utils, there is following code: boolean b = dir.mkdirs(); if (!b) { throw new IOException("Could not create directory " + dir); } This code is not correct, because mkdirs() can return false, without any errors, as the docs says: "return true if and only if the directory was created", so this can return false if directory already exists. Can we remove this practice ? This may also be the cause of this bug : http://forge.nuiton.org/issues/3195