Browse Source

Fix typo

pull/802/merge
izeye 11 years ago committed by Stephane Nicoll
parent
commit
b8d7d46da7
  1. 4
      spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java

4
spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java vendored

@ -50,8 +50,8 @@ abstract class ReadOnlySystemAttributesMap implements Map<String, String> { @@ -50,8 +50,8 @@ abstract class ReadOnlySystemAttributesMap implements Map<String, String> {
public String get(Object key) {
if (!(key instanceof String)) {
throw new IllegalArgumentException(
"Key of type [" + (key != null ? key.getClass().getName() : "null") +
"] must be an instance of java.lang.String.");
"Type of key [" + (key != null ? key.getClass().getName() : "null") +
"] must be java.lang.String.");
}
return this.getSystemAttribute((String) key);
}

Loading…
Cancel
Save