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.
1 parent 454aece commit 0153c30Copy full SHA for 0153c30
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