We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e62ea03 commit 8a35bbdCopy full SHA for 8a35bbd
cli/src/main/java/com/devonfw/tools/ide/property/RepositoryProperty.java
@@ -50,12 +50,11 @@ public Path getValueAsPath(IdeContext context) {
50
Path repositoriesPath = context.getSettingsPath().resolve(IdeContext.FOLDER_REPOSITORIES);
51
Path legacyRepositoriesPath = context.getSettingsPath().resolve(IdeContext.FOLDER_LEGACY_REPOSITORIES);
52
53
- Path repositoryFile;
54
- if (super.getValue() != null) {
55
- repositoryFile = Path.of(super.getValue());
56
- } else {
+ String value = getValue();
+ if (value == null) {
57
return null;
58
}
+ Path repositoryFile = Path.of(value);
59
60
if (!Files.exists(repositoryFile)) {
61
repositoryFile = repositoriesPath.resolve(repositoryFile.getFileName().toString() + ".properties");
0 commit comments