Skip to content
Snippets Groups Projects
Commit 436fe97d authored by tpylak's avatar tpylak
Browse files

list-property-types command added

SVN: 2310
parent 5400307b
No related branches found
No related tags found
No related merge requests found
......@@ -678,10 +678,10 @@ public final class BeanUtils
{
try
{
final Method converterMethod =
converter.getClass().getMethod(
"convertTo" + setter.getName().substring(SETTER_PREFIX.length()), new Class[]
{ sourceBean.getClass() });
String methodName = "convertTo" + setter.getName().substring(SETTER_PREFIX.length());
Class<? extends Converter> converterClasss = converter.getClass();
final Method converterMethod = converterClasss.getMethod(methodName, new Class[]
{ sourceBean.getClass() });
if (converterMethod.isAccessible() == false)
{
converterMethod.setAccessible(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment