void debug() { // logger.debug ("Who is calling this", new Throwable ()); if (logger.isDebugEnabled()) { logger.debug("Starting"); } debug(" "); if (logger.isDebugEnabled()) { logger.debug("Ending"); } }
void checkInvariants() { if (parent != null) { checkWholeTree(); } else { try { if (logger.isDebugEnabled()) { debug(); } checkInvariantsImpl(); } catch (IllegalStateException e) { if (logger.isDebugEnabled()) { debug(); } throw e; } } }