public final void done(EJBMethodInfoImpl mi)
    {
        //d151861
        if (orig || (mi == null) || (topOfStack == 0))
        {
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                Tr.debug(tc, "In orig mode returning:" + "  orig: " + orig +
                             " top: " + topOfStack + " mi:  " + mi);
            orig = true;
            elements = null;//d166651
        }
        //d151861
        else
        {
            --topOfStack;
            if (topOfStack < capacity)
            {
                //d156621
                if (mi != (elements[topOfStack]))
                {
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                        Tr.debug(tc, "EJBMethodInfoStack::done called with wrong " +
                                     "TopOfStack value: " + mi + "!=" + (elements[topOfStack]));
                    orig = true;
                    elements = null;//d166651
                }
                else
                    elements[topOfStack].initializeInstanceData(null, null, null, // 199625
                                                                null, null, false);//d162441
                //d156621
            }
        }
    }
public final void done ( EJBMethodInfoImpl mi ) { if ( orig || ( mi == null ) || ( topOfStack == 0 ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "In orig mode returning:" + "  orig: " + orig + " top: " + topOfStack + " mi:  " + mi ) ; orig = true ; elements = null ; } else { -- topOfStack ; if ( topOfStack < capacity ) { if ( mi != ( elements [ topOfStack ] ) ) { if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) Tr . debug ( tc , "EJBMethodInfoStack::done called with wrong " + "TopOfStack value: " + mi + "!=" + ( elements [ topOfStack ] ) ) ; orig = true ; elements = null ; } else elements [ topOfStack ] . initializeInstanceData ( null , null , null , null , null , false ) ; } } }
Indicate that the caller is finished with the instance that was last obtained.