Skip to content

Commit

Permalink
[incubator-kie-issues#1373] Define removeApplicationProperty (apache#…
Browse files Browse the repository at this point in the history
…6008)

Co-authored-by: Gabriele-Cardosi <[email protected]>
  • Loading branch information
2 people authored and rgdoliveira committed Aug 6, 2024
1 parent 14907da commit f010daa
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 f010daa

Please sign in to comment.