question: private boolean start ( String type ) { long timePassed = System . currentTimeMillis ( ) - start ; if ( timePassed > MAX_TIME ) { close ( ) ; } if ( ! type . equals ( mode ) ) { close ( ) ; } if ( mode == null ) { mode = type ; start = System . currentTimeMillis ( ) ; length = 0 ; return true ; } return false ; }
target:  Enters compact mode, closes it first if necessary.