public boolean METHOD_1 ( TYPE_1 listener ) throws TYPE_2 { if ( listener == null ) { throw new TYPE_2 ( STRING_1 ) ; } try { VAR_1 . METHOD_2 ( ) ; if ( VAR_2 . contains ( listener ) ) { VAR_2 . remove ( listener ) ; return true ; } } finally { VAR_1 . METHOD_3 ( ) ; } return false ; }

public boolean METHOD_1 ( TYPE_1 listener ) { boolean result = false ; try { VAR_1 . METHOD_2 ( ) ; if ( ( listener != null ) && ( VAR_2 . contains ( listener ) ) ) { result = VAR_2 . remove ( listener ) ; } } finally { VAR_1 . METHOD_3 ( ) ; } return result ; }
