MOD:修复错误
This commit is contained in:
@@ -45,6 +45,7 @@ public class ClassPathReaderUtils {
|
||||
}
|
||||
|
||||
public static String extractFileNameWithoutExtension(String filePath) {
|
||||
filePath = filePath.replace(CLASS_PATH_PREFIX, "");
|
||||
Path path = Paths.get(filePath);
|
||||
String fileNameWithExtension = path.getFileName().toString();
|
||||
int lastDotIndex = fileNameWithExtension.lastIndexOf(".");
|
||||
|
||||
Reference in New Issue
Block a user