mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-07 15:35:40 +07:00
GitOrigin-RevId: 5a8baeec399127391f8e2069e6915f322c524458
21 lines
513 B
Java
21 lines
513 B
Java
class SomeClass {
|
|
|
|
public boolean test(String filePath) {
|
|
return isABoolean(filePath);
|
|
}
|
|
|
|
private static boolean isABoolean(String filePath) {
|
|
return FileUtilRt.extensionEquals(filePath, "jar") ||
|
|
FileUtilRt.extensionEquals(filePath, "zip");
|
|
}
|
|
|
|
public void test2(String s){
|
|
String parent = s != null ? s.substring(4) : null;
|
|
}
|
|
}
|
|
|
|
class FileUtilRt {
|
|
static boolean extensionEquals(String filename, String extension) {
|
|
return true;
|
|
}
|
|
} |