Skip to content

Commit 5c9c80b

Browse files
#759: fixed typo
1 parent 7126cf9 commit 5c9c80b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cli/src/main/java/com/devonfw/tools/ide/environment/EnvironmentVariablesPropertiesFile.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -172,14 +172,14 @@ private boolean load(Path file) {
172172
@Override
173173
public void save() {
174174

175-
boolean isLegecy = Boolean.TRUE.equals(this.legacyConfiguration);
176-
if (this.modifiedVariables.isEmpty() && !isLegecy) {
175+
boolean isLegacy = Boolean.TRUE.equals(this.legacyConfiguration);
176+
if (this.modifiedVariables.isEmpty() && !isLegacy) {
177177
this.context.trace("No changes to save in properties file {}", this.propertiesFilePath);
178178
return;
179179
}
180180

181181
Path file = this.propertiesFilePath;
182-
if (isLegecy) {
182+
if (isLegacy) {
183183
this.context.info("Converting legacy properties to {}", this.propertiesFilePath);
184184
file = this.legacyPropertiesFilePath;
185185
}

0 commit comments

Comments
 (0)