mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
strip spaces when calculating default project directory
This commit is contained in:
@@ -86,8 +86,8 @@ public class WizardContext {
|
||||
}
|
||||
final String userHome = SystemProperties.getUserHome();
|
||||
//noinspection HardCodedStringLiteral
|
||||
return userHome.replace('/', File.separatorChar) + File.separator + ApplicationNamesInfo.getInstance().getLowercaseProductName() +
|
||||
"Projects";
|
||||
String productName = ApplicationNamesInfo.getInstance().getLowercaseProductName();
|
||||
return userHome.replace('/', File.separatorChar) + File.separator + productName.replace(" ", "") + "Projects";
|
||||
}
|
||||
|
||||
public boolean isProjectFileDirectorySet() {
|
||||
|
||||
Reference in New Issue
Block a user