void function ( int arg0 ) { Stack loc0 = ( Stack ) ht . get ( Thread . currentThread ( ) ) ; if ( loc0 != null && arg0 < loc0 . size ( ) ) loc0 . setSize ( arg0 ) ; }
set maximum depth of this diagnostic context . if the current depth is smaller or equal to maxdepth , then no action is taken . this method is a convenient alternative to multiple #pop calls . moreover , it is often the case that at the end ofcomplex call sequences , the depth of the ndc is unpredictable . the setmaxdepth method circumvents this problem . for example , the combination void foo int depth = ndc.getdepth ; ... complex sequence of calls ndc.setmaxdepth depth ; ensures that between the entry and exit of foo the depth of the diagnostic stack is conserved . concode_field_sep Hashtable ht concode_elem_sep int pushCounter concode_elem_sep String fullMessage concode_elem_sep String message concode_elem_sep int REAP_THRESHOLD concode_field_sep String pop concode_elem_sep int getDepth concode_elem_sep void lazyRemove concode_elem_sep void inherit concode_elem_sep String get concode_elem_sep void clear concode_elem_sep Stack cloneStack concode_elem_sep void push concode_elem_sep void remove concode_elem_sep String peek