public TYPE_1 METHOD_1 ( TYPE_2 type ) { <BUG> for ( TYPE_1 VAR_1 : VAR_2 ) {if ( ( VAR_1 . METHOD_2 ( ) ) == type ) {return VAR_1 ;BUG> }</BUG></BUG> } <BUG> return null ;</BUG> }
public TYPE_1 METHOD_1 ( TYPE_2 type ) { return VAR_2 . get ( type ) ; } 
