drools-benchmarks-parent/drools-benchmarks-reliability/src/main/java/org/drools/benchmarks/reliability/providers/ComplexRulesWithJoinsProvider.java [181:189]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private String generateConsequence() {
        StringBuilder consequence = new StringBuilder("    long result = $a.getId()");
        for (int i = 0; i < numberOfJoins; i++) {
            consequence.append( " + $" ).append( (char)('b'+i) ).append( ".getId()" );
        }
        consequence.append( ";\n" );
        consequence.append( "    " + ConsequenceBlackhole.class.getCanonicalName() + ".consume( result );" );
        return consequence.toString();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



drools-benchmarks-parent/drools-benchmarks-common/src/main/java/org/drools/benchmarks/common/providers/RulesWithJoinsProvider.java [193:201]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    private String generateConsequence() {
        StringBuilder consequence = new StringBuilder("    long result = $a.getId()");
        for (int i = 0; i < numberOfJoins; i++) {
            consequence.append( " + $" ).append( (char)('b'+i) ).append( ".getId()" );
        }
        consequence.append( ";\n" );
        consequence.append( "    " + ConsequenceBlackhole.class.getCanonicalName() + ".consume( result );" );
        return consequence.toString();
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



