Converter tests:
Change test data files extension to "java"
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
//file
|
||||
package test;
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* User: ignatov
|
||||
*/
|
||||
public class Test {
|
||||
public static boolean isDir(File parent) {
|
||||
if (parent == null || !parent.exists()) {
|
||||
return false;
|
||||
}
|
||||
boolean result = true;
|
||||
if (parent.isDirectory()) {
|
||||
return true;
|
||||
} else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user