Fix [varargs] compiler warnings
Remove unnecessary 'null' argument from calls to vararg supported methods and fix cast in ValidationUtils.invokeValidator().
This commit is contained in:
committed by
Chris Beams
parent
731d5be644
commit
7f0aa5cfb2
@@ -72,7 +72,7 @@ public class MethodExclusionMBeanInfoAssemblerTests extends AbstractJmxAssembler
|
||||
Properties ignored = new Properties();
|
||||
ignored.setProperty(beanKey, "dontExposeMe,setSuperman");
|
||||
assembler.setIgnoredMethodMappings(ignored);
|
||||
Method method = JmxTestBean.class.getMethod("dontExposeMe", null);
|
||||
Method method = JmxTestBean.class.getMethod("dontExposeMe");
|
||||
assertFalse(assembler.isNotIgnored(method, beanKey));
|
||||
// this bean does not have any ignored methods on it, so must obviously not be ignored...
|
||||
assertTrue(assembler.isNotIgnored(method, "someOtherBeanKey"));
|
||||
|
||||
Reference in New Issue
Block a user