This commit is contained in:
izeye
2015-06-01 08:53:03 +09:00
committed by Stephane Nicoll
parent 81844191f8
commit b8d7d46da7

View File

@@ -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);
}