made modifiable in subypes

This commit is contained in:
Kohsuke Kawaguchi committed 2011-03-22 11:30:27 -07:00
1 parent 4b1d3a13a1
commit 0ce75904ad
1 file changed
+1 -1
@@ -1167,7 +1167,7 @@ public abstract class HudsonTestCase extends TestCase implements RootAction {
assertEqualDataBoundBeans(lhs.get(i),rhs.get(i));
}
private Constructor<?> findDataBoundConstructor(Class<?> c) {
protected Constructor<?> findDataBoundConstructor(Class<?> c) {
for (Constructor<?> m : c.getConstructors()) {
if (m.getAnnotation(DataBoundConstructor.class)!=null)
return m;