mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Application.assertWriteAccess does really assert in tests,
tests now run in EDT
This commit is contained in:
@@ -97,7 +97,9 @@ public class CompilerPaths {
|
||||
return project.getName();
|
||||
}
|
||||
|
||||
String projectName = FileUtil.toSystemIndependentName(project.getLocation());
|
||||
String location = project.getLocation();
|
||||
if (location == null) return null;
|
||||
String projectName = FileUtil.toSystemIndependentName(location);
|
||||
if (projectName.endsWith("/")) {
|
||||
projectName = projectName.substring(0, projectName.length() - 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user