The following document contains the results of PMD's CPD 3.7.
| File | Line |
|---|---|
| org\apache\commons\digester\SetNextRule.java | 195 |
| org\apache\commons\digester\SetRootRule.java | 188 |
digester.log.debug("[SetRootRule]{" + digester.match +
"} Call " + parent.getClass().getName() + "." +
methodName + "(" + child + ")");
}
}
// Call the specified method
Class paramTypes[] = new Class[1];
if (paramType != null) {
paramTypes[0] =
digester.getClassLoader().loadClass(paramType);
} else {
paramTypes[0] = child.getClass();
}
if (useExactMatch) {
MethodUtils.invokeExactMethod(parent, methodName,
new Object[]{ child }, paramTypes);
} else {
MethodUtils.invokeMethod(parent, methodName,
new Object[]{ child }, paramTypes);
}
}
/**
* Render a printable version of this Rule.
*/
public String toString() {
StringBuffer sb = new StringBuffer("SetRootRule[");
| |