From b8d7d46da70903fc1accd8e0efc11485a4f67769 Mon Sep 17 00:00:00 2001 From: izeye Date: Mon, 1 Jun 2015 08:53:03 +0900 Subject: [PATCH] Fix typo --- .../springframework/core/env/ReadOnlySystemAttributesMap.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java b/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java index 9cca8afdfa..453fffcc84 100644 --- a/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java +++ b/spring-core/src/main/java/org/springframework/core/env/ReadOnlySystemAttributesMap.java @@ -50,8 +50,8 @@ abstract class ReadOnlySystemAttributesMap implements Map { 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); }