public int METHOD_1 ( ) { for ( TYPE_1 c : VAR_1 ) { if ( c . METHOD_2 ( ) . equals ( STRING_1 ) ) { if ( ( sum ) >= INT_1 ) { sum += 1 ; } else { sum += INT_2 ; } } else { sum += ( ( c . METHOD_3 ( ) ) > INT_3 ) ? INT_3 : c . METHOD_3 ( ) ; } } return sum ; }

public int METHOD_1 ( ) { sum = 0 ; for ( TYPE_1 c : VAR_1 ) { if ( c . METHOD_2 ( ) . equals ( STRING_1 ) ) { if ( ( sum ) >= INT_1 ) { sum += 1 ; } else { sum += INT_2 ; } } else { sum += ( ( c . METHOD_3 ( ) ) > INT_3 ) ? INT_3 : c . METHOD_3 ( ) ; } } return sum ; }
