config invocation handler: replace args with literal null

This commit is contained in:
Adam
2018-06-16 13:27:02 -04:00
parent 5ac839164a
commit e6cd1fedf0

View File

@@ -70,7 +70,7 @@ class ConfigInvocationHandler implements InvocationHandler
{ {
if (method.isDefault()) if (method.isDefault())
{ {
return callDefaultMethod(proxy, method, args); return callDefaultMethod(proxy, method, null);
} }
return null; return null;
@@ -88,7 +88,7 @@ class ConfigInvocationHandler implements InvocationHandler
log.warn("Unable to unmarshal {}.{} ", group.keyName(), item.keyName(), e); log.warn("Unable to unmarshal {}.{} ", group.keyName(), item.keyName(), e);
if (method.isDefault()) if (method.isDefault())
{ {
return callDefaultMethod(proxy, method, args); return callDefaultMethod(proxy, method, null);
} }
return null; return null;
} }