Fix getter and setter validation test

This commit is contained in:
Ville Skyttä 2016-04-10 12:37:39 +03:00 committed by Clebert Suconic
parent 39125546e9
commit b5ffda4701
1 changed files with 1 additions and 1 deletions

View File

@ -1050,7 +1050,7 @@ public abstract class ActiveMQTestBase extends Assert {
if (value != null && prop.getWriteMethod() != null && prop.getReadMethod() == null) {
System.out.println("WriteOnly property " + prop.getName() + " on " + pojo.getClass());
}
else if (value != null & prop.getWriteMethod() != null &&
else if (value != null && prop.getWriteMethod() != null &&
prop.getReadMethod() != null &&
!ignoreSet.contains(prop.getName())) {
System.out.println("Validating " + prop.getName() + " type = " + prop.getPropertyType());