annotations: Correct improper TypeToken toString use
This commit is contained in:
parent
7da05da323
commit
f7e756e901
1 changed files with 2 additions and 2 deletions
|
|
@ -542,7 +542,7 @@ public final class AnnotationParser<C> {
|
||||||
+ "has parser '%s' but no parser exists "
|
+ "has parser '%s' but no parser exists "
|
||||||
+ "for that type",
|
+ "for that type",
|
||||||
parameter.getName(), method.getName(),
|
parameter.getName(), method.getName(),
|
||||||
token.toString()
|
token.getType().getTypeName()
|
||||||
)));
|
)));
|
||||||
} else {
|
} else {
|
||||||
parser = this.manager.getParserRegistry()
|
parser = this.manager.getParserRegistry()
|
||||||
|
|
@ -552,7 +552,7 @@ public final class AnnotationParser<C> {
|
||||||
+ "has parser '%s' but no parser exists "
|
+ "has parser '%s' but no parser exists "
|
||||||
+ "for that type",
|
+ "for that type",
|
||||||
parameter.getName(), method.getName(),
|
parameter.getName(), method.getName(),
|
||||||
token.toString()
|
token.getType().getTypeName()
|
||||||
)));
|
)));
|
||||||
}
|
}
|
||||||
/* Check whether or not the corresponding method parameter actually exists */
|
/* Check whether or not the corresponding method parameter actually exists */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue