Browse Source

Merge pull request #10080 from izeye:unused-20170826

* pr/10080:
  Remove SystemPropertiesHandler.properties
pull/10080/merge
Stephane Nicoll 9 years ago
parent
commit
498537b60e
  1. 5
      spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java

5
spring-boot-test/src/main/java/org/springframework/boot/test/util/TestPropertyValues.java

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

Loading…
Cancel
Save