Buggy code:
public class QueryDataServiceImpl implements QueryDataService { private static final String GET_RELIABILITY = "SELECT<seq2seq4repair_space>DISTINCT<seq2seq4repair_space>?rel<seq2seq4repair_space>WHERE<seq2seq4repair_space>" + "{<%s><seq2seq4repair_space><http:////data.linkedgov.org//ns#reliability><seq2seq4repair_space>?rel<seq2seq4repair_space>}<seq2seq4repair_space>LIMIT<seq2seq4repair_space>1<seq2seq4repair_space>" ; private static final String XSD_INTEGER = "http:////www.w3.org//2001//XMLSchema#integer" ; private final SparqlDao sparqlDao ; private final Logger log ; public QueryDataServiceImpl ( SparqlDao sparqlDao , Logger log ) { } public List < Triple > executeQuery ( Query query ) { } private Triple resultToTriple ( List < String > head , SelectResult result ) { } private String makeAddressPretty ( List < Triple > triples ) { } public List < Triple > executeQuery ( Query query , Integer limit , Integer offset , String orderBy ) { final List < Triple > triples = new ArrayList < Triple > ( ) ; if ( ! ( query . isNull ( ) ) ) { final String sparqlString = query . toSparqlString ( ) ; log . info ( "SPARQL<seq2seq4repair_space>ASKED:{}" , sparqlString ) ; log . info ( "QUESTION<seq2seq4repair_space>ASKED:{}" , query . toString ( ) ) ; final SelectResultSet results = sparqlDao . executeQuery ( sparqlString , limit , offset , orderBy ) ; for ( SelectResult result : results . getResults ( ) ) { final Triple triple = resultToTriple ( results . getHead ( ) , result ) ; triples . add ( triple ) ; } } final List < Triple > finalTriples = new ArrayList < Triple > ( ) ; for ( Triple triple : triples ) { if ( ( triple . getObject ( ) . getFirst ( ) ) instanceof IRI ) { List < Triple > iriTriples = executeIRIQuery ( triple . getObject ( ) . getFirst ( ) . getValue ( ) ) ; <START_BUG> System . err . println ( ( "This<seq2seq4repair_space>size<seq2seq4repair_space>of<seq2seq4repair_space>the<seq2seq4repair_space>triples<seq2seq4repair_space>for<seq2seq4repair_space>a<seq2seq4repair_space>Given<seq2seq4repair_space>IRI<seq2seq4repair_space>is" + ( iriTriples . size ( ) ) ) ) ; <END_BUG> boolean isAddress = false ; for ( Triple row : iriTriples ) { if ( ( row . getPredicate ( ) . getFirst ( ) . getValue ( ) . equals ( "http:////www.w3.org//1999//02//22-rdf-syntax-ns#type" ) ) && ( row . getObject ( ) . getFirst ( ) . getValue ( ) . equals ( "http:////www.w3.org//2006//vcard//ns#Address" ) ) ) { isAddress = true ; break ; } } if ( isAddress ) { Triple newTriple = triple ; newTriple . getObject ( ) . getFirst ( ) . setValue ( makeAddressPretty ( iriTriples ) ) ; finalTriples . add ( newTriple ) ; } else { finalTriples . add ( triple ) ; } } else if ( ( triple . getObject ( ) . getFirst ( ) ) instanceof BNode ) { List < Triple > bnodeTriples = executeBnodeQuery ( triple . getObject ( ) . getFirst ( ) . getValue ( ) ) ; if ( ( bnodeTriples . size ( ) ) == 1 ) { Triple newTriple = triple ; newTriple . getObject ( ) . getFirst ( ) . setValue ( bnodeTriples . get ( 0 ) . getObject ( ) . getFirst ( ) . getValue ( ) ) ; finalTriples . add ( newTriple ) ; } else { finalTriples . add ( triple ) ; } } else { finalTriples . add ( triple ) ; } } return finalTriples ; } public int executeCountForQuery ( Query query , boolean forPagination ) { } public Map < String , String > executeGetAllGraphNames ( Query query ) { } public int executeReliabilityScore ( Map < String , String > graphs ) { } public List < Triple > executeIRIQuery ( String iri ) { } public List < Triple > executeBnodeQuery ( String bnode ) { } }

Fix:
log . info ( ( "This<seq2seq4repair_space>size<seq2seq4repair_space>of<seq2seq4repair_space>the<seq2seq4repair_space>triples<seq2seq4repair_space>for<seq2seq4repair_space>a<seq2seq4repair_space>Given<seq2seq4repair_space>IRI<seq2seq4repair_space>is" + ( iriTriples . size ( ) ) ) ) ;