Skip to content

Commit

Permalink
[incubator-kie-issues#1373] Define removeApplicationProperty (#6008)
Browse files Browse the repository at this point in the history
Co-authored-by: Gabriele-Cardosi <[email protected]>
  • Loading branch information
gitgabrio and Gabriele-Cardosi committed Jul 18, 2024
1 parent 09c1505 commit 6ed1281
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ public Collection<String> getApplicationProperties() {
public void setApplicationProperty(String key, String value) {
properties.put(key, value);
}

@Override
public void removeApplicationProperty(String key) {
properties.remove(key);
}
};
}

Expand All @@ -48,4 +53,6 @@ public void setApplicationProperty(String key, String value) {
Collection<String> getApplicationProperties();

void setApplicationProperty(String key, String value);

void removeApplicationProperty(String key);
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ public interface DroolsModelBuildContext {

void setApplicationProperty(String key, String value);

void removeApplicationProperty(String key);

String getPackageName();

ClassLoader getClassLoader();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ public void setApplicationProperty(String key, String value) {
applicationProperties.setApplicationProperty(key, value);
}

@Override
public void removeApplicationProperty(String key) {
applicationProperties.removeApplicationProperty(key);
}

@Override
public String getPackageName() {
return packageName;
Expand Down

0 comments on commit 6ed1281

Please sign in to comment.