mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-23 07:50:55 +07:00
17 lines
434 B
Java
17 lines
434 B
Java
class SomeClass {
|
|
|
|
public boolean test(String filePath) {
|
|
return <selection>FileUtilRt.extensionEquals(filePath, "jar") ||
|
|
FileUtilRt.extensionEquals(filePath, "zip")</selection>;
|
|
}
|
|
|
|
public void test2(String s){
|
|
String parent = s != null ? s.substring(4) : null;
|
|
}
|
|
}
|
|
|
|
class FileUtilRt {
|
|
static boolean extensionEquals(String filename, String extension) {
|
|
return true;
|
|
}
|
|
} |