fix javadoc warnings
update isDebugEnable method