We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8184419 + b8d7d46 commit 4ecb861Copy full SHA for 4ecb861
1 file changed
spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java
@@ -50,8 +50,8 @@ public boolean containsKey(Object key) {
50
public String get(Object key) {
51
if (!(key instanceof String)) {
52
throw new IllegalArgumentException(
53
- "Key of type [" + (key != null ? key.getClass().getName() : "null") +
54
- "] must be an instance of java.lang.String.");
+ "Type of key [" + (key != null ? key.getClass().getName() : "null") +
+ "] must be java.lang.String.");
55
}
56
return this.getSystemAttribute((String) key);
57
0 commit comments