Skip to content

Commit

Permalink
#759: fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-vcapgemini committed Jan 10, 2025
1 parent 7126cf9 commit 5c9c80b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,14 @@ private boolean load(Path file) {
@Override
public void save() {

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

Path file = this.propertiesFilePath;
if (isLegecy) {
if (isLegacy) {
this.context.info("Converting legacy properties to {}", this.propertiesFilePath);
file = this.legacyPropertiesFilePath;
}
Expand Down

0 comments on commit 5c9c80b

Please sign in to comment.