Program: 39055
Project: 39055
Buggy source:
@Override protected void doPost(final HttpServletRequest req,final HttpServletResponse rsp) throws IOException {
  rsp.setHeader("String_Node_Str","String_Node_Str");
  rsp.setHeader("String_Node_Str","String_Node_Str");
  rsp.setHeader("String_Node_Str","String_Node_Str");
  final AuthResult res;
  if ("String_Node_Str".equals(req.getParameter("String_Node_Str"))) {
    res=create();
  }
 else   if (req.getParameter("String_Node_Str") != null) {
    res=byUserName(rsp,req.getParameter("String_Node_Str"));
  }
 else   if (req.getParameter("String_Node_Str") != null) {
    res=byPreferredEmail(rsp,req.getParameter("String_Node_Str"));
  }
 else   if (req.getParameter("String_Node_Str") != null) {
    res=byAccountId(rsp,req.getParameter("String_Node_Str"));
  }
 else {
    rsp.setContentType("String_Node_Str");
    rsp.setCharacterEncoding(HtmlDomUtil.ENC);
    rsp.setContentLength(raw.length);
    final OutputStream out=rsp.getOutputStream();
    try {
      out.write(raw);
    }
  finally {
      out.close();
    }
    return;
  }
  if (res != null) {
    webSession.get().login(res,false);
    final StringBuilder rdr=new StringBuilder();
    rdr.append(urlProvider.get());
    rdr.append('#');
    if (res.isNew()) {
      rdr.append(PageLinks.REGISTER);
      rdr.append(',');
    }
    rdr.append(PageLinks.MINE);
    rsp.sendRedirect(rdr.toString());
  }
 else {
    rsp.setContentType("String_Node_Str");
    rsp.setCharacterEncoding(HtmlDomUtil.ENC);
    final Writer out=rsp.getWriter();
    out.write("String_Node_Str");
    out.write("String_Node_Str");
    out.write("String_Node_Str");
    out.write("String_Node_Str");
    out.write("String_Node_Str");
    out.close();
  }
}

Fixed version (ground truth):
@Override protected void doPost(final HttpServletRequest req,final HttpServletResponse rsp) throws IOException {
  rsp.setHeader("String_Node_Str","String_Node_Str");
  rsp.setHeader("String_Node_Str","String_Node_Str");
  rsp.setHeader("String_Node_Str","String_Node_Str");
  final AuthResult res;
  if ("String_Node_Str".equals(req.getParameter("String_Node_Str"))) {
    res=create();
  }
 else   if (req.getParameter("String_Node_Str") != null) {
    res=byUserName(rsp,req.getParameter("String_Node_Str"));
  }
 else   if (req.getParameter("String_Node_Str") != null) {
    res=byPreferredEmail(rsp,req.getParameter("String_Node_Str"));
  }
 else   if (req.getParameter("String_Node_Str") != null) {
    res=byAccountId(rsp,req.getParameter("String_Node_Str"));
  }
 else {
    rsp.setContentType("String_Node_Str");
    rsp.setCharacterEncoding(HtmlDomUtil.ENC);
    rsp.setContentLength(raw.length);
    final OutputStream out=rsp.getOutputStream();
    try {
      out.write(raw);
    }
  finally {
      out.close();
    }
    return;
  }
  if (res != null) {
    webSession.get().login(res,false);
    final StringBuilder rdr=new StringBuilder();
    rdr.append(urlProvider.get());
    if (IS_DEV && req.getParameter("String_Node_Str") != null) {
      if (rdr.indexOf("String_Node_Str") < 0) {
        rdr.append("String_Node_Str");
      }
 else {
        rdr.append("String_Node_Str");
      }
      rdr.append("String_Node_Str").append(req.getParameter("String_Node_Str"));
    }
    rdr.append('#');
    if (res.isNew()) {
      rdr.append(PageLinks.REGISTER);
      rdr.append(',');
    }
    rdr.append(PageLinks.MINE);
    rsp.sendRedirect(rdr.toString());
  }
 else {
    rsp.setContentType("String_Node_Str");
    rsp.setCharacterEncoding(HtmlDomUtil.ENC);
    final Writer out=rsp.getWriter();
    out.write("String_Node_Str");
    out.write("String_Node_Str");
    out.write("String_Node_Str");
    out.write("String_Node_Str");
    out.write("String_Node_Str");
    out.close();
  }
}