Program: 92397
Project: 92397
Buggy source:
private DGETInfo checkForVoid(String url,String operation,Robots rob){
  DGETInfo info=new DGETInfo();
  info.setOperation(operation);
  info.setURL(url);
  info.setResponseServer("String_Node_Str");
  boolean isRobotsAllowed=checkRobotsTxt(rob,url);
  info.setAllowedByRobotsTXT(isRobotsAllowed);
  HashMap<CharSequence,Object> voidPred=new HashMap<CharSequence,Object>();
  HashMap<CharSequence,Object> spdsPred=new HashMap<CharSequence,Object>();
  info.setSPARQLDESCpreds(spdsPred);
  info.setVoiDpreds(voidPred);
  HttpGet request=new HttpGet(url);
  request.addHeader("String_Node_Str","String_Node_Str");
  request.addHeader("String_Node_Str",CONSTANTS.USER_AGENT);
  log.info("String_Node_Str",request);
  HttpResponse resp;
  try {
    resp=cm.connect(request);
    log.debug("String_Node_Str",request);
    String type=getType(resp);
    String status="String_Node_Str" + resp.getStatusLine().getStatusCode();
    info.setResponseCode(status);
    Header[] header=resp.getAllHeaders();
    parseHeaders(info,header);
    if (status.startsWith("String_Node_Str")) {
      String content=EntityUtils.toString(resp.getEntity());
      info.setContent(content);
      PipedRDFIterator<Triple> iter=new PipedRDFIterator<Triple>();
      final PipedRDFStream<Triple> inputStream=new PipedTriplesStream(iter);
      ByteArrayInputStream bais=new ByteArrayInputStream(content.getBytes());
      RDFDataMgr.parse(inputStream,bais,url,getLangFromType(type));
      while (iter.hasNext()) {
        Triple t=iter.next();
        String pred=t.getPredicate().toString();
        if (pred.startsWith(sparqDescNS)) {
          update(pred.replace(sparqDescNS,"String_Node_Str"),spdsPred);
        }
 else         if (pred.startsWith(voidNS)) {
          update(pred.replace(voidNS,"String_Node_Str"),voidPred);
        }
      }
    }
  }
 catch (  Exception e) {
    log.warn("String_Node_Str" + url + "String_Node_Str"+ _epURI,ExceptionHandler.logAndtoString(e,true));
    info.setException(ExceptionHandler.logAndtoString(e));
  }
 finally {
    request.releaseConnection();
  }
  return info;
}

Fixed version (ground truth):
private DGETInfo checkForVoid(String url,String operation,Robots rob){
  DGETInfo info=new DGETInfo();
  info.setOperation(operation);
  info.setURL(url);
  info.setResponseServer("String_Node_Str");
  boolean isRobotsAllowed=checkRobotsTxt(rob,url);
  info.setAllowedByRobotsTXT(isRobotsAllowed);
  HashMap<CharSequence,Object> voidPred=new HashMap<CharSequence,Object>();
  HashMap<CharSequence,Object> spdsPred=new HashMap<CharSequence,Object>();
  info.setSPARQLDESCpreds(spdsPred);
  info.setVoiDpreds(voidPred);
  HttpGet request=new HttpGet(url);
  request.addHeader("String_Node_Str","String_Node_Str");
  request.addHeader("String_Node_Str",CONSTANTS.USER_AGENT);
  log.info("String_Node_Str",request);
  HttpResponse resp;
  try {
    resp=cm.connect(request);
    log.debug("String_Node_Str",request);
    String type=getType(resp);
    String status="String_Node_Str" + resp.getStatusLine().getStatusCode();
    info.setResponseCode(status);
    Header[] header=resp.getAllHeaders();
    parseHeaders(info,header);
    if (status.startsWith("String_Node_Str")) {
      String content=EntityUtils.toString(resp.getEntity());
      content=content.replaceAll("String_Node_Str","String_Node_Str");
      info.setContent(content);
      PipedRDFIterator<Triple> iter=new PipedRDFIterator<Triple>();
      final PipedRDFStream<Triple> inputStream=new PipedTriplesStream(iter);
      ByteArrayInputStream bais=new ByteArrayInputStream(content.getBytes());
      RDFDataMgr.parse(inputStream,bais,url,getLangFromType(type));
      while (iter.hasNext()) {
        Triple t=iter.next();
        String pred=t.getPredicate().toString();
        if (pred.startsWith(sparqDescNS)) {
          update(pred.replace(sparqDescNS,"String_Node_Str"),spdsPred);
        }
 else         if (pred.startsWith(voidNS)) {
          update(pred.replace(voidNS,"String_Node_Str"),voidPred);
        }
      }
    }
  }
 catch (  Exception e) {
    log.warn("String_Node_Str" + url + "String_Node_Str"+ _epURI,ExceptionHandler.logAndtoString(e,true));
    info.setException(ExceptionHandler.logAndtoString(e));
  }
 finally {
    request.releaseConnection();
  }
  return info;
}