Fix Java 6 compatibility

See gh-5849
pull/6432/head
Phillip Webb 8 years ago
parent 05cde789e1
commit 225502f7ca

@ -67,7 +67,8 @@ public class LimitedEnvironmentEndpoint extends EnvironmentEndpoint {
systemEnvironment.add("DISPLAY"); systemEnvironment.add("DISPLAY");
systemEnvironment.add("LOGNAME"); systemEnvironment.add("LOGNAME");
includes.put("systemEnvironment", systemEnvironment); includes.put("systemEnvironment", systemEnvironment);
INCLUDES = new LinkedMultiValueMap<>(Collections.unmodifiableMap(includes)); INCLUDES = new LinkedMultiValueMap<String, String>(
Collections.unmodifiableMap(includes));
} }
@Override @Override

Loading…
Cancel
Save