mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 20:59:07 +00:00
SPR-6051 avoiding NPE in TypedValue.toString()
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2210 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ public class TypedValue {
|
||||
@Override
|
||||
public String toString() {
|
||||
StringBuilder str = new StringBuilder();
|
||||
str.append("TypedValue: ").append(this.value).append(" of type ").append(this.typeDescriptor.asString());
|
||||
str.append("TypedValue: ").append(this.value).append(" of type ").append(this.getTypeDescriptor().asString());
|
||||
return str.toString();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user