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;
|
continue;
|
||||||
|
|
||||||
// Eliminate methods declared on Object
|
// Eliminate methods declared on Object
|
||||||
|
// and other unusual places that can cause problems.
|
||||||
Class<?> c = method.getDeclaringClass();
|
Class<?> c = method.getDeclaringClass();
|
||||||
|
|
||||||
if (c.equals(java.lang.Object.class) ||
|
if (c.equals(java.lang.Object.class) ||
|
||||||
c.equals(java.lang.reflect.Constructor.class) ||
|
c.equals(java.lang.reflect.Constructor.class) ||
|
||||||
c.equals(java.lang.reflect.Field.class ) )
|
c.equals(java.lang.reflect.Field.class ) )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
|
||||||
if(
|
if(
|
||||||
c.getPackage().getName().startsWith("sun.") ||
|
c.getPackage().getName().startsWith("sun.") ||
|
||||||
c.getPackage().getName().startsWith("java.lang") ||
|
c.getPackage().getName().startsWith("java.lang") ||
|
||||||
c.getPackage().getName().startsWith("java.security") )
|
c.getPackage().getName().startsWith("java.security") )
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
log.error("decalring class of method " + method.getName() + " is " + c.getName());
|
|
||||||
|
|
||||||
// Eliminate deprecated methods
|
// Eliminate deprecated methods
|
||||||
if (method.isAnnotationPresent(Deprecated.class)) {
|
if (method.isAnnotationPresent(Deprecated.class)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue