private double METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { double VAR_3 = 0.0 ; for ( TYPE_3 result : VAR_1 . results ) { VAR_3 += METHOD_2 ( result , VAR_2 ) ; } if ( VAR_4 . isEmpty ( ) ) return VAR_3 / ( VAR_4 . size ( ) ) ; else return 0.0 ; }

private double METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) { double VAR_3 = 0.0 ; if ( VAR_1 != null ) { for ( TYPE_3 result : VAR_1 . results ) { VAR_3 += METHOD_2 ( result , VAR_2 ) ; } if ( ! ( VAR_4 . isEmpty ( ) ) ) return VAR_3 / ( VAR_4 . size ( ) ) ; else return 0.0 ; } return 0.0 ; }
