public static int METHOD_1 ( TYPE_1 VAR_1 ) { int sum = 0 ; for ( TYPE_2 c : VAR_2 ) { <BUG> if ( ( c . METHOD_2 ( ) ) == VAR_1 ) {</BUG> sum += c . METHOD_3 ( ) ; } } return sum ; }
public static int METHOD_1 ( TYPE_1 VAR_1 ) { int sum = 0 ; for ( TYPE_2 c : VAR_2 ) { if ( c . METHOD_2 ( ) . equals ( VAR_1 ) ) { sum += c . METHOD_3 ( ) ; } } return sum ; } 
