Skip to content

Commit

Permalink
Fix setProperty return type
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu BAGUE <mathieu.bague@rte-france.com>
  • Loading branch information
Mathieu BAGUE authored and mathbagu committed Sep 17, 2019
1 parent 207e72b commit 600b1a9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ default Properties getProperties() {
/**
* Set property value associated to specified key.
*/
Object setProperty(String key, String value);
String setProperty(String key, String value);

/**
* Get properties key values.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public String getProperty(String key, String defaultValue) {
}

@Override
public Object setProperty(String key, String value) {
public String setProperty(String key, String value) {
return properties.put(key, value);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public String getProperty(String key, String defaultValue) {
}

@Override
public Object setProperty(String key, String value) {
public String setProperty(String key, String value) {
return null;
}

Expand Down

0 comments on commit 600b1a9

Please sign in to comment.