Removing debugging output.
This commit is contained in:
parent
9a28e3a448
commit
123215e530
1 changed files with 2 additions and 5 deletions
|
@ -382,21 +382,18 @@ public abstract class BaseDumpDirective implements TemplateDirectiveModel {
|
|||
continue;
|
||||
|
||||
// Eliminate methods declared on Object
|
||||
// and other unusual places that can cause problems.
|
||||
Class<?> c = method.getDeclaringClass();
|
||||
|
||||
if (c.equals(java.lang.Object.class) ||
|
||||
c.equals(java.lang.reflect.Constructor.class) ||
|
||||
c.equals(java.lang.reflect.Field.class ) )
|
||||
continue;
|
||||
|
||||
|
||||
if(
|
||||
c.getPackage().getName().startsWith("sun.") ||
|
||||
c.getPackage().getName().startsWith("java.lang") ||
|
||||
c.getPackage().getName().startsWith("java.security") )
|
||||
continue;
|
||||
|
||||
log.error("decalring class of method " + method.getName() + " is " + c.getName());
|
||||
continue;
|
||||
|
||||
// Eliminate deprecated methods
|
||||
if (method.isAnnotationPresent(Deprecated.class)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue