}
return defaultTempDir;
}</BUG>
public static void mkDir(File dir) {
if (dir == null) {
<BUG>throw new RuntimeException("dir attribute is required");
</BUG>
}
if (dir.isFile()) {
throw new RuntimeException("Unable to create directory as a file "

}
public static String normalizePath(String path) {
if (path != null && System.getProperty("os.name").startsWith("Windows") && path.indexOf('/') >= 0) {
return path.replace('/', '\\');
}
return path;
}
public static void mkDir(File dir) {
if (dir == null) {
throw new IllegalArgumentException("dir attribute is required");
}
if (dir.isFile()) {
throw new RuntimeException("Unable to create directory as a file "
