Use interfaces for collection declarations

Closes gh-11839
This commit is contained in:
dreis2211
2018-01-29 22:31:10 +01:00
committed by Phillip Webb
parent 9a8c182d19
commit e7248ff273
7 changed files with 7 additions and 7 deletions

View File

@@ -40,7 +40,7 @@ public final class Info {
private final Map<String, Object> details;
private Info(Builder builder) {
LinkedHashMap<String, Object> content = new LinkedHashMap<>();
Map<String, Object> content = new LinkedHashMap<>();
content.putAll(builder.content);
this.details = Collections.unmodifiableMap(content);
}