This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects

Resolve "Reviewing Badges: Zusätzliche Icons"

Merged Michael Breu requested to merge 397-reviewing-badges-zusatzliche-icons into development
Viewing commit 4130058a
Show latest version
1 file
+ 12
12
Compare changes
  • Side-by-side
  • Inline
@@ -162,19 +162,19 @@ public class PropertiesTester {
LOGGER.info("Cannot find getter for " + beanClass.getCanonicalName() + "." + setter.getName(), e);
return;
}
}
if (getter == null) {
// not getter found
return;
}
try {
setter.invoke(bean, property);
Object result = getter.invoke(bean);
Assert.assertEquals("Testing " + setter.getName() + " of " + beanClass.getCanonicalName(), property, result);
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
LOGGER.info("Cannot invoke ..." + beanClass.getCanonicalName() + "." + setter.getName(), e);
return;
}
if (getter == null) {
// not getter found
return;
}
try {
setter.invoke(bean, property);
Object result = getter.invoke(bean);
Assert.assertEquals("Testing " + setter.getName() + " of " + beanClass.getCanonicalName(), property, result);
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
LOGGER.info("Cannot invoke ..." + beanClass.getCanonicalName() + "." + setter.getName(), e);
return;
}
}
}