Fix broken AnnotationAttributesTests

Issue: SPR-13007
This commit is contained in:
Sam Brannen
2015-05-10 13:10:04 +02:00
parent 92c1751d35
commit fcf75c90b1
2 changed files with 59 additions and 64 deletions

View File

@@ -117,7 +117,7 @@ public class AnnotationAttributes extends LinkedHashMap<String, Object> {
else {
throw new IllegalArgumentException(
String.format("Attribute '%s' is of type [%s], but [%s] was expected.",
attributeName, value.getClass().getName(), expectedType.getName()));
attributeName, value.getClass().getSimpleName(), expectedType.getSimpleName()));
}
}
return (T) value;