ARTEMIS-3894 - resolve errorprone warn on vargs call

This commit is contained in:
Gary Tully 2022-07-13 16:08:05 +01:00 committed by clebertsuconic
parent 7ee820864b
commit d3ed11da2a
1 changed files with 1 additions and 1 deletions

View File

@ -2957,7 +2957,7 @@ public class ConfigurationImpl implements Configuration, Serializable {
// create one and initialise with name // create one and initialise with name
try { try {
Object instance = candidate.getParameterTypes()[candidate.getParameterCount() - 1].getDeclaredConstructor().newInstance(null); Object instance = candidate.getParameterTypes()[candidate.getParameterCount() - 1].getDeclaredConstructor().newInstance((java.lang.Object[])null);
beanUtilsBean.setProperty(instance, "name", name); beanUtilsBean.setProperty(instance, "name", name);
// this is always going to be a little hacky b/c our config is not natively property friendly // this is always going to be a little hacky b/c our config is not natively property friendly