public TYPE_1 METHOD_1 ( TYPE_2 position ) { for ( TYPE_1 VAR_1 : VAR_2 ) { if ( VAR_1 . METHOD_2 ( ) . equals ( position ) ) { return VAR_1 ; } } <BUG> throw new TYPE_3 ( STRING_1 ) ;</BUG> }
public TYPE_1 METHOD_1 ( TYPE_2 position ) { for ( TYPE_1 VAR_1 : VAR_2 ) { if ( VAR_1 . METHOD_2 ( ) . equals ( position ) ) { return VAR_1 ; } } return null ; } 
