mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-59316: New Module wizard/Facets configuration page: path for downloaded library jars is shown incorrectly
This commit is contained in:
@@ -254,7 +254,7 @@ public class LibraryOptionsPanel {
|
||||
final String downloadPath = mySettings.getDirectoryForDownloadedLibrariesPath();
|
||||
final String basePath = mySettings.getBaseDirectoryForDownloadedFiles();
|
||||
String path;
|
||||
if (FileUtil.startsWith(downloadPath, basePath)) {
|
||||
if (!StringUtil.isEmpty(basePath) && FileUtil.startsWith(downloadPath, basePath)) {
|
||||
path = FileUtil.getRelativePath(basePath, downloadPath, File.separatorChar);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user