Program: 145740
Project: 145740
Buggy source:
public void doGet(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException {
  SnipSpace space=SnipSpaceFactory.getInstance();
  Configuration config=Application.get().getConfiguration();
  String eTag=request.getHeader("String_Node_Str");
  if (null != eTag && eTag.equals(space.getETag())) {
    response.setHeader("String_Node_Str",space.getETag());
    response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
    return;
  }
 else {
    String version=request.getParameter("String_Node_Str");
    String type=request.getParameter("String_Node_Str");
    String sourceSnipName=request.getParameter("String_Node_Str");
    if (null == sourceSnipName) {
      sourceSnipName=config.getStartSnip();
    }
    Snip sourceSnip=space.load(sourceSnipName);
    Object object=Components.getComponent(PlainTextRenderEngine.class);
    System.err.println("String_Node_Str" + object.getClass());
    FeederRepository repository=(FeederRepository)Components.getComponent(FeederRepository.class);
    Feeder feeder=(Feeder)repository.get(type);
    if (null == feeder || "String_Node_Str".equals(feeder.getName())) {
      if (sourceSnip.isWeblog()) {
        feeder=new BlogFeeder(sourceSnipName);
      }
 else {
        feeder=new BlogFeeder();
      }
    }
    Snip snip=feeder.getContextSnip();
    SyndFeedI feed=new SyndFeed();
    if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version) || "String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version) || "String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else {
      feed.setFeedType("String_Node_Str");
    }
    String url=config.getUrl("String_Node_Str");
    feed.setTitle(config.getName());
    feed.setLink(url + snip.getNameEncoded());
    feed.setDescription(config.getTagline());
    feed.setCopyright("String_Node_Str" + year.format(snip.getModified().getmTime()));
    feed.setLanguage(config.getLocale().getLanguage());
    List entries=new ArrayList();
    SyndEntryI entry;
    SyndContentI description;
    List rssSnips=feeder.getFeed();
    Iterator iterator=rssSnips.iterator();
    while (iterator.hasNext()) {
      Snip rssSnip=(Snip)iterator.next();
      entry=new SyndEntry();
      entry.setTitle(rssSnip.getName());
      entry.setLink(url + rssSnip.getNameEncoded());
      description=new SyndContent();
      description.setType("String_Node_Str");
      description.setValue(rssSnip.getXMLContent());
      entry.setDescription(description);
      entry.setAuthor(rssSnip.getCUser());
      entry.setPublishedDate(rssSnip.getModified().getmTime());
      entries.add(entry);
    }
    feed.setEntries(entries);
    SyndFeedOutput output=new SyndFeedOutput();
    try {
      output.output(feed,new OutputStreamWriter(response.getOutputStream()));
    }
 catch (    FeedException e) {
      e.printStackTrace();
    }
  }
}

Fixed version (ground truth):
public void doGet(HttpServletRequest request,HttpServletResponse response) throws IOException, ServletException {
  SnipSpace space=SnipSpaceFactory.getInstance();
  Configuration config=Application.get().getConfiguration();
  String eTag=request.getHeader("String_Node_Str");
  if (null != eTag && eTag.equals(space.getETag())) {
    response.setHeader("String_Node_Str",space.getETag());
    response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
    return;
  }
 else {
    String version=request.getParameter("String_Node_Str");
    String type=request.getParameter("String_Node_Str");
    String sourceSnipName=request.getParameter("String_Node_Str");
    if (null == sourceSnipName) {
      sourceSnipName=config.getStartSnip();
    }
    Snip sourceSnip=space.load(sourceSnipName);
    Object object=Components.getComponent(PlainTextRenderEngine.class);
    System.err.println("String_Node_Str" + object.getClass());
    FeederRepository repository=(FeederRepository)Components.getComponent(FeederRepository.class);
    Feeder feeder=(Feeder)repository.get(type);
    if (null == feeder || "String_Node_Str".equals(feeder.getName())) {
      if (sourceSnip.isWeblog()) {
        feeder=new BlogFeeder(sourceSnipName);
      }
 else {
        feeder=new BlogFeeder();
      }
    }
    Snip snip=feeder.getContextSnip();
    SyndFeedI feed=new SyndFeed();
    if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version) || "String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version) || "String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else     if ("String_Node_Str".equals(version)) {
      feed.setFeedType("String_Node_Str");
    }
 else {
      feed.setFeedType("String_Node_Str");
    }
    String url=config.getUrl("String_Node_Str");
    feed.setTitle(config.getName());
    feed.setLink(url + "String_Node_Str" + snip.getNameEncoded());
    feed.setDescription(config.getTagline());
    feed.setCopyright("String_Node_Str" + year.format(snip.getModified().getmTime()));
    feed.setLanguage(config.getLocale().getLanguage());
    List entries=new ArrayList();
    SyndEntryI entry;
    SyndContentI description;
    List rssSnips=feeder.getFeed();
    Iterator iterator=rssSnips.iterator();
    while (iterator.hasNext()) {
      Snip rssSnip=(Snip)iterator.next();
      entry=new SyndEntry();
      entry.setTitle(rssSnip.getName());
      entry.setLink(url + "String_Node_Str" + rssSnip.getNameEncoded());
      description=new SyndContent();
      description.setType("String_Node_Str");
      description.setValue(rssSnip.getXMLContent());
      entry.setDescription(description);
      entry.setAuthor(rssSnip.getCUser());
      entry.setPublishedDate(rssSnip.getModified().getmTime());
      entries.add(entry);
    }
    feed.setEntries(entries);
    SyndFeedOutput output=new SyndFeedOutput();
    try {
      output.output(feed,new OutputStreamWriter(response.getOutputStream()));
    }
 catch (    FeedException e) {
      e.printStackTrace();
    }
  }
}