Polishing

This commit is contained in:
Juergen Hoeller
2014-01-15 22:53:46 +01:00
parent 91881ff036
commit a5f9b29292
8 changed files with 52 additions and 79 deletions

View File

@@ -51,7 +51,7 @@ abstract class ReadOnlySystemAttributesMap implements Map<String, String> {
@Override
public String get(Object key) {
Assert.isInstanceOf(String.class, key,
String.format("expected key [%s] to be of type String, got %s", key, key.getClass().getName()));
String.format("Expected key [%s] to be of type String, got %s", key, key.getClass().getName()));
return this.getSystemAttribute((String) key);
}