public void incrementFor ( Status status ) { final int statusCounter = getValueFor ( status ) + 1 ; this . counter . put ( status , statusCounter ) ; size ++ ; if ( finalStatus == Status . PASSED && status != Status . PASSED ) { finalStatus = Status . FAILED ; } }
Increments finalStatus counter by single value .