Commit 711dd51
Clarify docs for canConvert(Object, Class)
It was misleading the way it was because it would return true from
canConvert("5.1", int.class) but would get an exception when actually
trying to convert("5.1", int.class). The documentation led me to believe
the check would catch this scenario when it is actually a convenience
method that simply delegates to canConvert(Class, Class).1 parent b8ca33b commit 711dd51
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
| |||
0 commit comments