We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea8182c + 0174cf6 commit 7459cadCopy full SHA for 7459cad
src/test/java/org/apache/ibatis/reflection/ReflectorTest.java
@@ -212,7 +212,7 @@ public void setProp2(boolean arg) {}
212
assertNotNull(reflector.getSetInvoker("prop1"));
213
214
Class<?> paramType = reflector.getSetterType("prop2");
215
- assertTrue(String.class.equals(paramType) || Integer.class.equals(paramType));
+ assertTrue(String.class.equals(paramType) || Integer.class.equals(paramType) || boolean.class.equals(paramType));
216
217
Invoker ambiguousInvoker = reflector.getSetInvoker("prop2");
218
Object[] param = String.class.equals(paramType)? new String[]{"x"} : new Integer[]{1};
0 commit comments