public void METHOD_1 ( TYPE_1 listener ) { <BUG> synchronized ( VAR_1 ) {int index = VAR_1 . METHOD_2 ( listener ) ;if ( index != ( - 1 ) ) {VAR_1 . remove ( index ) ;BUG> }</BUG></BUG> } }
public void METHOD_1 ( TYPE_1 listener ) { VAR_1 . remove ( listener ) ; } 
