Removing debugging output.

This commit is contained in:
briancaruso 2011-11-17 21:53:27 +00:00
parent 9a28e3a448
commit 123215e530

View file

@ -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)) {