Remove SystemPropertiesHandler.properties

Closes gh-10080
This commit is contained in:
Johnny Lim 2017-08-26 05:24:28 +09:00 committed by Stephane Nicoll
parent a9dc0d2963
commit 9dd7184b6e
1 changed files with 1 additions and 4 deletions

View File

@ -284,13 +284,10 @@ public final class TestPropertyValues {
*/ */
private class SystemPropertiesHandler implements Closeable { private class SystemPropertiesHandler implements Closeable {
private final Map<String, Object> properties;
private final Map<String, String> previous; private final Map<String, String> previous;
SystemPropertiesHandler() { SystemPropertiesHandler() {
this.properties = new LinkedHashMap<>(TestPropertyValues.this.properties); this.previous = apply(TestPropertyValues.this.properties);
this.previous = apply(this.properties);
} }
private Map<String, String> apply(Map<String, ?> properties) { private Map<String, String> apply(Map<String, ?> properties) {