nus-yam/ex-repair huggingface dataset:
Program: 35807
Project: 35807
Buggy source:
private String getIfNoneMatch(ResourceContext resourceContext){
  Set<String> etags=new HashSet<String>();
  if (resourceContext.isProxy() && !resourceContext.isNeededForTransformation()) {
    String ifNoneMatch=resourceContext.getOriginalRequest().getHeader("String_Node_Str");
    if (ifNoneMatch != null) {
      Matcher matcher=ETAG_PATTERN.matcher(ifNoneMatch);
      while (!matcher.hitEnd()) {
        if (matcher.find()) {
          etags.add(matcher.group(1));
        }
      }
    }
  }
  for (Iterator<CachedResponse> iterator=cachedResponses.values().iterator(); iterator.hasNext(); ) {
    CachedResponse cachedResponse=iterator.next();
    String etag=cachedResponse.getHeader("String_Node_Str");
    if (etag != null) {
      etags.add(etag);
    }
  }
  if (!etags.isEmpty()) {
    Iterator<String> iterator=etags.iterator();
    String etagsString=iterator.next();
    while (iterator.hasNext())     etagsString+="String_Node_Str" + iterator.next();
    return etagsString;
  }
  return null;
}

Fixed version (ground truth):
private String getIfNoneMatch(ResourceContext resourceContext){
  Set<String> etags=new HashSet<String>();
  if (resourceContext.isProxy() && !resourceContext.isNeededForTransformation()) {
    String ifNoneMatch=resourceContext.getOriginalRequest().getHeader("String_Node_Str");
    if (ifNoneMatch != null) {
      Matcher matcher=ETAG_PATTERN.matcher(ifNoneMatch);
      while (!matcher.hitEnd()) {
        if (matcher.find()) {
          etags.add(matcher.group(1));
        }
      }
    }
  }
  for (Iterator<CachedResponse> iterator=cachedResponses.values().iterator(); iterator.hasNext(); ) {
    CachedResponse cachedResponse=iterator.next();
    String etag=cachedResponse.getHeader("String_Node_Str");
    if (etag != null && cachedResponse.hasResponseBody()) {
      etags.add(etag);
    }
  }
  if (!etags.isEmpty()) {
    Iterator<String> iterator=etags.iterator();
    String etagsString=iterator.next();
    while (iterator.hasNext())     etagsString+="String_Node_Str" + iterator.next();
    return etagsString;
  }
  return null;
}
Program: 35808
Project: 35808
Buggy source:
private String getIfModifiedSince(ResourceContext resourceContext,CachedResponse cachedResponse){
  String requestedIfModifiedSince=resourceContext.getOriginalRequest().getHeader("String_Node_Str");
  String cacheLastModified=cachedResponse.getHeader("String_Node_Str");
  Date requestedIfModifiedSinceDate=null;
  Date cacheLastModifiedDate=null;
  if (requestedIfModifiedSince != null) {
    try {
      requestedIfModifiedSinceDate=DateUtils.parseDate(requestedIfModifiedSince);
    }
 catch (    DateParseException e) {
      LOG.warn("String_Node_Str" + requestedIfModifiedSince);
      requestedIfModifiedSince=null;
    }
  }
  if (cacheLastModified != null) {
    try {
      cacheLastModifiedDate=DateUtils.parseDate(cacheLastModified);
    }
 catch (    DateParseException e) {
      LOG.warn("String_Node_Str" + cacheLastModified);
      cacheLastModified=null;
    }
  }
  if (resourceContext.isNeededForTransformation() || requestedIfModifiedSinceDate == null || (cacheLastModifiedDate != null && cacheLastModifiedDate.after(requestedIfModifiedSinceDate)))   requestedIfModifiedSince=cacheLastModified;
  return requestedIfModifiedSince;
}

Fixed version (ground truth):
private String getIfModifiedSince(ResourceContext resourceContext,CachedResponse cachedResponse){
  Date requestedIfModifiedSinceDate=Rfc2616.getDateHeader(resourceContext,"String_Node_Str");
  Date cacheLastModifiedDate=null;
  if (cachedResponse != null && cachedResponse.hasResponseBody()) {
    cacheLastModifiedDate=Rfc2616.getDateHeader(cachedResponse,"String_Node_Str");
    if (resourceContext.isNeededForTransformation() || requestedIfModifiedSinceDate == null || (cacheLastModifiedDate != null && cacheLastModifiedDate.after(requestedIfModifiedSinceDate)))     return cachedResponse.getHeader("String_Node_Str");
  }
  return resourceContext.getOriginalRequest().getHeader("String_Node_Str");
}
Program: 35809
Project: 35809
Buggy source:
public void put(ResourceContext resourceContext,CachedResponse resource){
  String key=getCacheKey(resourceContext,resource);
  cachedResponses.put(key,resource);
  storage.put(key,resource);
  LOG.debug("String_Node_Str" + key + "String_Node_Str");
}

Fixed version (ground truth):
public void put(ResourceContext resourceContext,CachedResponse resource){
  if (resource != null && resource.getStatusCode() != HttpServletResponse.SC_NOT_MODIFIED) {
    String key=getCacheKey(resourceContext,resource);
    cachedResponses.put(key,resource);
    storage.put(key,resource);
    LOG.debug("String_Node_Str" + key + "String_Node_Str");
  }
}
Program: 35810
Project: 35810
Buggy source:
public CachedResponse toResource(){
  CachedResponse result;
  if (out.isTooBig()) {
    result=new CachedResponse();
  }
 else {
    result=new CachedResponse(out.toByteArray(),getCharsetName(),getHeaders(),getStatusCode(),getStatusMessage());
  }
  out.clear();
  return result;
}

Fixed version (ground truth):
public CachedResponse toResource(){
  CachedResponse result;
  if (out.isTooBig()) {
    result=null;
  }
 else {
    result=new CachedResponse(out.toByteArray(),getCharsetName(),getHeaders(),getStatusCode(),getStatusMessage());
  }
  out.clear();
  return result;
}
Program: 35811
Project: 35811
Buggy source:
public final static Date getDateHeader(Resource resource,String name){
  String dateString=resource.getHeader(name);
  if (dateString != null) {
    try {
      return DateUtils.parseDate(dateString);
    }
 catch (    DateParseException e) {
      LOG.warn("String_Node_Str" + dateString);
    }
  }
  return null;
}

Fixed version (ground truth):
public final static Date getDateHeader(ResourceContext resourceContext,String name){
  String dateString=resourceContext.getOriginalRequest().getHeader(name);
  return convertDate(dateString);
}
Program: 35812
Project: 35812
Buggy source:
public final static Date getExpiration(Resource resource){
  Date date=getDate(resource);
  if (date == null) {
    LOG.warn("String_Node_Str");
    return null;
  }
  Long maxAge=null;
  CacheControlResponseHeader cacheControl=CacheControlResponseHeader.parse(resource);
  if (cacheControl.maxAge != null)   maxAge=cacheControl.maxAge;
  if (cacheControl.sMaxAge != null)   maxAge=cacheControl.sMaxAge;
  if (maxAge != null) {
    return new Date(date.getTime() + maxAge.longValue());
  }
  Date expires=getDateHeader(resource,"String_Node_Str");
  if (expires != null)   return expires;
  return null;
}

Fixed version (ground truth):
public final static Date getExpiration(Resource resource){
  Date date=getDate(resource);
  if (date == null) {
    LOG.warn("String_Node_Str");
    return null;
  }
  Long maxAge=null;
  CacheControlResponseHeader cacheControl=CacheControlResponseHeader.parse(resource);
  if (cacheControl != null) {
    if (cacheControl.maxAge != null)     maxAge=cacheControl.maxAge;
    if (cacheControl.sMaxAge != null)     maxAge=cacheControl.sMaxAge;
  }
  if (maxAge != null) {
    return new Date(date.getTime() + maxAge.longValue());
  }
  Date expires=getDateHeader(resource,"String_Node_Str");
  if (expires != null)   return expires;
  return null;
}
Program: 35813
Project: 35813
Buggy source:
public boolean isTooBig(){
  return tooBig;
}

Fixed version (ground truth):
/** 
 * Returns true if the content written did not reach maxSize.
 * @return true if content size exceeds maxSize
 */
public boolean isTooBig(){
  return tooBig;
}
Program: 35814
Project: 35814
Buggy source:
public MemoryOutput(int maxSize){
  out=new MemoryOutputStream(maxSize);
}

Fixed version (ground truth):
/** 
 * Creates a MemoryOuput with the given size limit. If content exceeds maxSize, the whole content is NOT written and the resource will remain empty.
 * @param maxSize Value &gt;=0. 0 means 'no limit'.
 */
public MemoryOutput(int maxSize){
  out=new MemoryOutputStream(maxSize);
}
Program: 35815
Project: 35815
Buggy source:
/** 
 * {@inheritDoc} 
 */
@Override public synchronized void write(byte[] b,int off,int len){
  if (!tooBig) {
    if ((count + len) > maxSize) {
      tooBig=true;
    }
 else {
      super.write(b,off,len);
    }
  }
}

Fixed version (ground truth):
/** 
 * {@inheritDoc} 
 */
@Override public synchronized void write(byte[] b,int off,int len){
  if (!tooBig) {
    if (maxSize != 0 && (count + len) > maxSize) {
      tooBig=true;
    }
 else {
      super.write(b,off,len);
    }
  }
}
Program: 35816
Project: 35816
Buggy source:
public MemoryOutputStream(int maxSize){
  this.maxSize=maxSize;
}

Fixed version (ground truth):
/** 
 * Creates a MemoryOutputStream with the given size limit. If content exceeds maxSize, the whole content is NOT written and the resource will remain empty.
 * @param maxSize Value &gt;=0. 0 means 'no limit'.
 */
public MemoryOutputStream(int maxSize){
  this.maxSize=maxSize;
}
Program: 35818
Project: 35818
Buggy source:
/** 
 * Extracts parameters from provided <code>content</code>. <p> Searches for tags: <ul> <li>&lt;!--$beginput$name$--&gt;</li> <li>&lt;!--$endput$--&gt;</li> </ul>
 */
protected Map<String,String> parseParameters(String content) throws AggregationSyntaxException {
  Map<String,String> result=new HashMap<String,String>();
  Tag openTag=Tag.find("String_Node_Str",content);
  while (openTag != null) {
    if (openTag.countTokens() != 2)     throw new AggregationSyntaxException("String_Node_Str" + openTag);
    Tag closeTag=Tag.findNext("String_Node_Str",content,openTag);
    if (closeTag == null)     throw new AggregationSyntaxException("String_Node_Str" + openTag);
    String paramName=openTag.getToken(1);
    result.put(paramName,content.substring(openTag.getEndIndex(),closeTag.getBeginIndex()));
    openTag=Tag.findNext("String_Node_Str",content,closeTag);
  }
  return result;
}

Fixed version (ground truth):
/** 
 * Extracts parameters from provided <code>content</code>. <p> Searches for tags: <ul> <li>&lt;!--$beginput$name$--&gt;</li> <li>&lt;!--$endput$--&gt;</li> </ul>
 */
protected Map<String,String> parseParameters(String content) throws AggregationSyntaxException {
  Map<String,String> result=new HashMap<String,String>();
  Tag openTag=Tag.find("String_Node_Str",content);
  while (openTag != null) {
    if (openTag.countTokens() != 2)     throw new AggregationSyntaxException("String_Node_Str" + openTag);
    Tag closeTag=Tag.find("String_Node_Str",content,openTag.getEndIndex());
    if (closeTag == null)     throw new AggregationSyntaxException("String_Node_Str" + openTag);
    String paramName=openTag.getToken(1);
    result.put(paramName,content.substring(openTag.getEndIndex(),closeTag.getBeginIndex()));
    openTag=Tag.find("String_Node_Str",content,closeTag.getEndIndex());
  }
  return result;
}
Program: 35819
Project: 35819
Buggy source:
@Override protected void service(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  String relUrl=request.getServletPath();
  if (request.getPathInfo() != null)   relUrl+=request.getPathInfo();
  boolean propagateJsessionId=response.encodeURL("String_Node_Str").contains("String_Node_Str");
  DriverFactory.getInstance(provider).proxy(relUrl,request,response,propagateJsessionId);
}

Fixed version (ground truth):
@Override protected void service(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  String relUrl=request.getRequestURI();
  relUrl=relUrl.substring(request.getContextPath().length());
  boolean propagateJsessionId=response.encodeURL("String_Node_Str").contains("String_Node_Str");
  DriverFactory.getInstance(provider).proxy(relUrl,request,response,propagateJsessionId);
}
Program: 35820
Project: 35820
Buggy source:
@Override protected void service(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  String relUrl=request.getServletPath();
  if (request.getPathInfo() != null)   relUrl+=request.getPathInfo();
  boolean propagateJsessionId=response.encodeURL("String_Node_Str").contains("String_Node_Str");
  try {
    DriverFactory.getInstance(provider).aggregate(relUrl,request,response,propagateJsessionId);
  }
 catch (  RenderingException e) {
    throw new ServletException(e);
  }
}

Fixed version (ground truth):
@Override protected void service(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
  String relUrl=request.getRequestURI();
  relUrl=relUrl.substring(request.getContextPath().length());
  boolean propagateJsessionId=response.encodeURL("String_Node_Str").contains("String_Node_Str");
  try {
    DriverFactory.getInstance(provider).aggregate(relUrl,request,response,propagateJsessionId);
  }
 catch (  RenderingException e) {
    throw new ServletException(e);
  }
}
Program: 35821
Project: 35821
Buggy source:
/** 
 * {@inheritDoc} 
 */
public void render(StringOutput stringOutput,Writer unised1,Map<String,String> unused2) throws IOException, RenderingException {
  if (stringOutput.getStatusCode() == HttpServletResponse.SC_MOVED_PERMANENTLY || stringOutput.getStatusCode() == HttpServletResponse.SC_MOVED_TEMPORARILY) {
    response.setStatus(stringOutput.getStatusCode());
    response.setHeader("String_Node_Str",stringOutput.getLocation());
    return;
  }
  stringOutput.copyHeaders(response);
  String content=stringOutput.toString();
  if (content == null)   return;
  OutputStream out=response.getOutputStream();
  Writer writer=new OutputStreamWriter(out,stringOutput.getCharsetName());
  IRegionParser parser=createParser();
  List<IRegion> parsed=parser.parse(content);
  for (  IRegion region : parsed) {
    try {
      region.process(writer,request);
    }
 catch (    RetrieveException e) {
      writer.append(e.getStatusCode() + "String_Node_Str" + e.getStatusMessage());
    }
  }
  writer.flush();
}

Fixed version (ground truth):
/** 
 * {@inheritDoc} 
 */
public void render(StringOutput stringOutput,Writer unised1,Map<String,String> unused2) throws IOException, RenderingException {
  response.setStatus(stringOutput.getStatusCode());
  if (stringOutput.getStatusCode() == HttpServletResponse.SC_MOVED_PERMANENTLY || stringOutput.getStatusCode() == HttpServletResponse.SC_MOVED_TEMPORARILY) {
    response.setHeader("String_Node_Str",stringOutput.getLocation());
    return;
  }
  stringOutput.copyHeaders(response);
  String content=stringOutput.toString();
  if (content == null)   return;
  OutputStream out=response.getOutputStream();
  Writer writer=new OutputStreamWriter(out,stringOutput.getCharsetName());
  IRegionParser parser=createParser();
  List<IRegion> parsed=parser.parse(content);
  for (  IRegion region : parsed) {
    try {
      region.process(writer,request);
    }
 catch (    RetrieveException e) {
      writer.append(e.getStatusCode() + "String_Node_Str" + e.getStatusMessage());
    }
  }
  writer.flush();
}
Program: 35824
Project: 35824
Buggy source:
@Override public String toString(){
  try {
    return byteArrayOutputStream.toString(getCharsetName());
  }
 catch (  UnsupportedEncodingException e) {
    throw new OutputException(e);
  }
}

Fixed version (ground truth):
@Override public String toString(){
  String charsetName=getCharsetName();
  if (charsetName == null)   charsetName="String_Node_Str";
  try {
    return byteArrayOutputStream.toString(charsetName);
  }
 catch (  UnsupportedEncodingException e) {
    throw new OutputException(e);
  }
}
Program: 35825
Project: 35825
Buggy source:
@Override public String toString(){
  try {
    return byteArrayOutputStream.toString(getCharsetName());
  }
 catch (  UnsupportedEncodingException e) {
    throw new OutputException(e);
  }
}

Fixed version (ground truth):
@Override public String toString(){
  String charsetName=getCharsetName();
  if (charsetName == null)   charsetName="String_Node_Str";
  try {
    return byteArrayOutputStream.toString(charsetName);
  }
 catch (  UnsupportedEncodingException e) {
    throw new OutputException(e);
  }
}
Program: 35826
Project: 35826
Buggy source:
public void testPost() throws Exception {
  HashMap<String,String> params=new HashMap<String,String>();
  params.put("String_Node_Str","String_Node_Str");
  doPost("String_Node_Str",params,"String_Node_Str");
  assertStatus(HttpServletResponse.SC_OK);
  assertBodyEqualsLocalFile("String_Node_Str");
}

Fixed version (ground truth):
public void testPost() throws Exception {
  HashMap<String,String> params=new HashMap<String,String>();
  String eacute=new String(new byte[]{(byte)0xC3,(byte)0xA9},"String_Node_Str");
  params.put("String_Node_Str",eacute);
  doPost("String_Node_Str",params,"String_Node_Str");
  assertStatus(HttpServletResponse.SC_OK);
  assertBodyEqualsLocalFile("String_Node_Str");
}
Program: 35827
Project: 35827
Buggy source:
@Override public void render(Output output) throws IOException {
  output.setStatus(statusCode,statusText);
  copyHeaders(httpMethod,output,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  Header header=httpMethod.getResponseHeader("String_Node_Str");
  if (header != null) {
    String location=header.getValue();
    String originalBase=target.getOriginalRequest().getScheme() + "String_Node_Str" + target.getOriginalRequest().getServerName()+ "String_Node_Str"+ target.getOriginalRequest().getServerPort()+ target.getOriginalRequest().getContextPath()+ target.getOriginalRequest().getServletPath();
    if (target.getOriginalRequest().getPathInfo() != null)     originalBase+=target.getOriginalRequest().getPathInfo();
    int pos=originalBase.indexOf(target.getRelUrl());
    originalBase=originalBase.substring(0,pos + 1);
    location=location.replaceFirst(target.getDriver().getBaseURL(),originalBase);
    output.addHeader(header.getName(),location);
  }
  String charset=httpMethod.getResponseCharSet();
  if (charset != null)   output.setCharsetName(charset);
  try {
    output.open();
    if (exception != null) {
      output.write(statusText);
    }
 else {
      Handler handler=createHandler();
      handler.handle(httpMethod.getResponseBodyAsStream(),output);
    }
  }
  finally {
    output.close();
  }
}

Fixed version (ground truth):
@Override public void render(Output output) throws IOException {
  output.setStatus(statusCode,statusText);
  copyHeaders(httpMethod,output,"String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str");
  Header header=httpMethod.getResponseHeader("String_Node_Str");
  if (header != null) {
    String location=header.getValue();
    String originalBase=target.getOriginalRequest().getScheme() + "String_Node_Str" + target.getOriginalRequest().getServerName()+ "String_Node_Str"+ target.getOriginalRequest().getServerPort()+ target.getOriginalRequest().getContextPath()+ target.getOriginalRequest().getServletPath();
    if (target.getOriginalRequest().getPathInfo() != null)     originalBase+=target.getOriginalRequest().getPathInfo();
    int pos=originalBase.indexOf(target.getRelUrl());
    originalBase=originalBase.substring(0,pos + 1);
    location=location.replaceFirst(target.getDriver().getBaseURL(),originalBase);
    output.addHeader(header.getName(),location);
  }
  String charset=httpMethod.getResponseCharSet();
  if (charset != null)   output.setCharsetName(charset);
  try {
    output.open();
    if (exception != null) {
      output.write(statusText);
    }
 else {
      Handler handler=createHandler();
      handler.handle(httpMethod.getResponseBodyAsStream(),output);
    }
  }
  finally {
    output.close();
  }
}
Program: 35828
Project: 35828
Buggy source:
/** 
 * Copy all the headers to the response
 */
private void copyHeaders(){
  for (Iterator<Map.Entry<Object,Object>> headersIterator=getHeaders().entrySet().iterator(); headersIterator.hasNext(); ) {
    Map.Entry<Object,Object> entry=headersIterator.next();
    if (!"String_Node_Str".equalsIgnoreCase(entry.getKey().toString()))     response.setHeader(entry.getKey().toString(),entry.getValue().toString());
  }
}

Fixed version (ground truth):
/** 
 * Copy all the headers to the response
 */
private void copyHeaders(){
  for (Iterator<Map.Entry<Object,Object>> headersIterator=getHeaders().entrySet().iterator(); headersIterator.hasNext(); ) {
    Map.Entry<Object,Object> entry=headersIterator.next();
    response.setHeader(entry.getKey().toString(),entry.getValue().toString());
  }
}
Program: 35829
Project: 35829
Buggy source:
/** 
 * {@inheritDoc} 
 */
@Override public void open(){
  String ifModifiedSince=request.getHeader("String_Node_Str");
  String ifNoneMatch=request.getHeader("String_Node_Str");
  if ((ifModifiedSince != null && ifModifiedSince.equals(getHeader("String_Node_Str"))) || (ifNoneMatch != null && ifNoneMatch.equals(getHeader("String_Node_Str")))) {
    response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
  }
 else {
    response.setStatus(getStatusCode());
    response.setCharacterEncoding(getCharsetName());
    try {
      copyHeaders();
      outputStream=response.getOutputStream();
    }
 catch (    IOException e) {
      throw new OutputException(e);
    }
  }
}

Fixed version (ground truth):
/** 
 * {@inheritDoc} 
 */
@Override public void open(){
  String ifModifiedSince=request.getHeader("String_Node_Str");
  String ifNoneMatch=request.getHeader("String_Node_Str");
  if ((ifModifiedSince != null && ifModifiedSince.equals(getHeader("String_Node_Str"))) || (ifNoneMatch != null && ifNoneMatch.equals(getHeader("String_Node_Str")))) {
    response.setStatus(HttpServletResponse.SC_NOT_MODIFIED);
  }
 else {
    response.setStatus(getStatusCode());
    try {
      copyHeaders();
      outputStream=response.getOutputStream();
    }
 catch (    IOException e) {
      throw new OutputException(e);
    }
  }
}
Program: 35830
Project: 35830
Buggy source:
/** 
 * {@inheritDoc} 
 */
public void render(StringOutput stringOutput,Writer unised1,Map<String,String> unused2) throws IOException, RenderingException {
  if (stringOutput.getStatusCode() == HttpServletResponse.SC_MOVED_PERMANENTLY || stringOutput.getStatusCode() == HttpServletResponse.SC_MOVED_TEMPORARILY) {
    response.setStatus(stringOutput.getStatusCode());
    response.setHeader("String_Node_Str",stringOutput.getLocation());
    return;
  }
  stringOutput.copyHeaders(response);
  String content=stringOutput.toString();
  if (content == null)   return;
  response.setCharacterEncoding(stringOutput.getCharsetName());
  Writer writer=response.getWriter();
  IRegionParser parser=createParser();
  List<IRegion> parsed=parser.parse(content);
  for (  IRegion region : parsed) {
    try {
      region.process(writer,request);
    }
 catch (    RetrieveException e) {
      writer.append(e.getStatusCode() + "String_Node_Str" + e.getStatusMessage());
    }
  }
}

Fixed version (ground truth):
/** 
 * {@inheritDoc} 
 */
public void render(StringOutput stringOutput,Writer unised1,Map<String,String> unused2) throws IOException, RenderingException {
  if (stringOutput.getStatusCode() == HttpServletResponse.SC_MOVED_PERMANENTLY || stringOutput.getStatusCode() == HttpServletResponse.SC_MOVED_TEMPORARILY) {
    response.setStatus(stringOutput.getStatusCode());
    response.setHeader("String_Node_Str",stringOutput.getLocation());
    return;
  }
  stringOutput.copyHeaders(response);
  String content=stringOutput.toString();
  if (content == null)   return;
  OutputStream out=response.getOutputStream();
  Writer writer=new OutputStreamWriter(out,stringOutput.getCharsetName());
  IRegionParser parser=createParser();
  List<IRegion> parsed=parser.parse(content);
  for (  IRegion region : parsed) {
    try {
      region.process(writer,request);
    }
 catch (    RetrieveException e) {
      writer.append(e.getStatusCode() + "String_Node_Str" + e.getStatusMessage());
    }
  }
  writer.flush();
}
Program: 35832
Project: 35832
Buggy source:
/** 
 * {@inheritDoc} 
 */
@Override public void close() throws IOException {
  for (  OutputStream out : dest) {
    out.close();
  }
}

Fixed version (ground truth):
/** 
 * {@inheritDoc} 
 */
@Override public void close() throws IOException {
  super.close();
  next.close();
}
Program: 35833
Project: 35833
Buggy source:
/** 
 * {@inheritDoc} 
 */
@Override public void write(byte[] b,int off,int len) throws IOException {
  for (  OutputStream out : dest) {
    out.write(b,off,len);
  }
}

Fixed version (ground truth):
/** 
 * {@inheritDoc} 
 */
@Override public void write(byte[] b,int off,int len) throws IOException {
  out.write(b,off,len);
  next.write(b,off,len);
}
Program: 35834
Project: 35834
Buggy source:
@Override public void open(){
  for (  Output output : outputs) {
    copyHeaders(output);
    output.setStatus(getStatusCode(),getStatusMessage());
    output.setCharsetName(getCharsetName());
    output.open();
  }
  output=new MultipleOutputStream(outputs);
}

Fixed version (ground truth):
@Override public void open(){
  for (  Output output : outputs) {
    copyHeaders(output);
    output.setStatus(getStatusCode(),getStatusMessage());
    output.setCharsetName(getCharsetName());
    output.open();
  }
  output=ChainedOutputStream.createChain(outputs);
}
Program: 35836
Project: 35836
Buggy source:
/** 
 * @param message
 */
public UnsupportedHttpMethodException(String message){
  super(message);
}

Fixed version (ground truth):
/** 
 * @param message Error message
 */
public UnsupportedHttpMethodException(String message){
  super(message);
}
Program: 35837
Project: 35837
Buggy source:
public void run(TestResult result){
  ListIterator<TestCaseFeature> iter=features.listIterator();
  while (iter.hasNext()) {
    TestCaseFeature feature=(TestCaseFeature)iter.next();
    feature.beforeRun(this,result);
  }
  try {
    super.run(result);
  }
  finally {
    while (iter.hasPrevious()) {
      TestCaseFeature decorator=(TestCaseFeature)iter.previous();
      decorator.afterRun(this,result);
    }
  }
}

Fixed version (ground truth):
@Override public void run(TestResult result){
  ListIterator<TestCaseFeature> iter=features.listIterator();
  while (iter.hasNext()) {
    TestCaseFeature feature=iter.next();
    feature.beforeRun(this,result);
  }
  try {
    super.run(result);
  }
  finally {
    while (iter.hasPrevious()) {
      TestCaseFeature decorator=iter.previous();
      decorator.afterRun(this,result);
    }
  }
}
Program: 35838
Project: 35838
Buggy source:
/** 
 * @param string
 */
public AggregationSyntaxException(String string){
  super(string);
}

Fixed version (ground truth):
/** 
 * @param string Error message
 */
public AggregationSyntaxException(String string){
  super(string);
}
Program: 35840
Project: 35840
Buggy source:
/** 
 * Retrieves a block from the provider application and writes it to a Writer. Block can be defined in the provider application using HTML comments.<br /> eg: a block name "myblock" should be delimited with "&lt;!--$beginblock$myblock$--&gt;" and "&lt;!--$endblock$myblock$--&gt;
 * @param page
 * @param name
 * @param writer
 * @param context
 * @param replaceRules the replace rules to be applied on the block
 * @param parameters
 * @throws IOException
 */
public final void renderBlock(String page,String name,Writer writer,Context context,Map<String,String> replaceRules,Map<String,String> parameters) throws IOException {
  Target target=new Target(page,context,parameters);
  String content=getResourceAsString(target).toString();
  if (content == null)   return;
  String beginString="String_Node_Str" + name + "String_Node_Str";
  String endString="String_Node_Str" + name + "String_Node_Str";
  StringBuilder sb=new StringBuilder();
  int begin=content.indexOf(beginString);
  int end=content.indexOf(endString);
  if (begin == -1 || end == -1) {
    log.warn("String_Node_Str" + page + "String_Node_Str"+ name);
  }
 else {
    log.debug("String_Node_Str" + page + "String_Node_Str"+ name);
    sb.append(content.substring(begin,end));
  }
  writer.append(StringUtils.replace(sb,replaceRules));
}

Fixed version (ground truth):
/** 
 * Retrieves a block from the provider application and writes it to a Writer. Block can be defined in the provider application using HTML comments.<br /> eg: a block name "myblock" should be delimited with "&lt;!--$beginblock$myblock$--&gt;" and "&lt;!--$endblock$myblock$--&gt;
 * @param page Page containing the block
 * @param name Name of the block
 * @param writer Writer to write the block to
 * @param context User context
 * @param replaceRules the replace rules to be applied on the block
 * @param parameters Additional parameters
 * @throws IOException If an IOException occurs while writing to the writer
 */
public final void renderBlock(String page,String name,Writer writer,Context context,Map<String,String> replaceRules,Map<String,String> parameters) throws IOException {
  Target target=new Target(page,context,parameters);
  String content=getResourceAsString(target).toString();
  if (content == null)   return;
  String beginString="String_Node_Str" + name + "String_Node_Str";
  String endString="String_Node_Str" + name + "String_Node_Str";
  int begin=content.indexOf(beginString);
  int end=content.indexOf(endString);
  if (begin == -1 || end == -1) {
    log.warn("String_Node_Str" + page + "String_Node_Str"+ name);
  }
 else {
    log.debug("String_Node_Str" + page + "String_Node_Str"+ name);
    writer.append(StringUtils.replace(content.substring(begin + beginString.length(),end),replaceRules));
  }
}
Program: 35842
Project: 35842
Buggy source:
/** 
 * Retrieves the default instance of this class that is configured according to the properties file (driver.properties)
 * @param instanceName The name of the instance (corresponding to the prefix in the driver.properties file)
 * @return the named instance
 */
public final static Driver getInstance(String instanceName){
  if (instances == null)   throw new ConfigurationException("String_Node_Str");
  if (instanceName == null)   instanceName="String_Node_Str";
  Driver instance=instances.get(instanceName);
  if (instance == null)   throw new ConfigurationException("String_Node_Str" + instanceName);
  return instance;
}

Fixed version (ground truth):
/** 
 * Retrieves the default instance of this class that is configured according to the properties file (driver.properties)
 * @param instanceName The name of the instance (corresponding to the prefixin the driver.properties file)
 * @return the named instance
 */
public final static Driver getInstance(String instanceName){
  if (instances == null)   throw new ConfigurationException("String_Node_Str");
  if (instanceName == null)   instanceName="String_Node_Str";
  Driver instance=instances.get(instanceName);
  if (instance == null)   throw new ConfigurationException("String_Node_Str" + instanceName);
  return instance;
}
Program: 35843
Project: 35843
Buggy source:
/** 
 * Applies the replace rules to the final String to be rendered and returns it. If there is no replace rule, returns the original string.
 * @param charSequence
 * @param replaceRules the replace rules
 * @return the result of the replace rules
 */
public final static CharSequence replace(CharSequence charSequence,Map<String,String> replaceRules){
  if (replaceRules != null && replaceRules.size() > 0) {
    for (    Entry<String,String> replaceRule : replaceRules.entrySet()) {
      charSequence=Pattern.compile(replaceRule.getKey()).matcher(charSequence).replaceAll(replaceRule.getValue());
    }
  }
  return charSequence;
}

Fixed version (ground truth):
/** 
 * Applies the replace rules to the final String to be rendered and returns it. If there is no replace rule, returns the original string.
 * @param charSequence The original charSequence to apply the replacementsto
 * @param replaceRules the replace rules
 * @return the result of the replace rules
 */
public final static CharSequence replace(CharSequence charSequence,Map<String,String> replaceRules){
  if (replaceRules != null && replaceRules.size() > 0) {
    for (    Entry<String,String> replaceRule : replaceRules.entrySet()) {
      charSequence=Pattern.compile(replaceRule.getKey()).matcher(charSequence).replaceAll(replaceRule.getValue());
    }
  }
  return charSequence;
}
Program: 35844
Project: 35844
Buggy source:
/** 
 * @see org.mortbay.jetty.webapp.Configuration#configureWebApp()
 */
public void configureWebApp() throws Exception {
}

Fixed version (ground truth):
public void configureWebApp() throws Exception {
}
Program: 35845
Project: 35845
Buggy source:
/** 
 * Configures WebAppContext's classloader with extra entries. Extra entries are read from the webapptest.extraclasspath system property to each context that uses this configuration object
 * @exception Exception as defined in  {@link Configuration}
 */
public void configureClassLoader() throws Exception {
  ((WebAppClassLoader)_ctx.getClassLoader()).addClassPath(System.getProperty("String_Node_Str"));
}

Fixed version (ground truth):
/** 
 * Configures WebAppContext's classloader with extra entries. Extra entries are read from the webapptest.extraclasspath system property to each context that uses this configuration object
 * @exception Exception as defined in {@link Configuration}
 */
public void configureClassLoader() throws Exception {
  ((WebAppClassLoader)_ctx.getClassLoader()).addClassPath(System.getProperty("String_Node_Str"));
}
Program: 35846
Project: 35846
Buggy source:
/** 
 * Sets the parameter to add to the request.
 * @param expression
 */
public void setParameter(String expression){
  this.parameter=expression;
}

Fixed version (ground truth):
/** 
 * Sets the parameter to add to the request.
 * @param parameterName Name of the parameter
 */
public void setParameter(String parameterName){
  this.parameter=parameterName;
}
Program: 35847
Project: 35847
Buggy source:
/** 
 * Sets the expression to replace.
 * @param expression
 */
public void setExpression(String expression){
  this.expression=expression;
}

Fixed version (ground truth):
/** 
 * Sets the expression to replace.
 * @param expression Regular expression to be replaced by the tag body
 */
public void setExpression(String expression){
  this.expression=expression;
}
Program: 35848
Project: 35848
Buggy source:
/** 
 * Writes some bytes to the Output.<br /> The Output must be opened before calling this method.<br /> This method cannot be called any more when the Output has been closed.
 * @param bytes Array containing the bytes to be written
 * @param offset First byte to be written
 * @param length Number of bytes to be written
 * @throws OutputException
 */
public void write(byte[] bytes,int offset,int length) throws OutputException ;

Fixed version (ground truth):
/** 
 * Writes some bytes to the Output.<br /> The Output must be opened before calling this method.<br /> This method cannot be called any more when the Output has been closed.
 * @param bytes Array containing the bytes to be written
 * @param offset First byte to be written
 * @param length Number of bytes to be written
 * @throws OutputException If an problem occurs while writing the result
 */
public void write(byte[] bytes,int offset,int length) throws OutputException ;
Program: 35849
Project: 35849
Buggy source:
public void copyHeaders(HttpServletResponse response){
  Iterator<Header> iterator=headers.iterator();
  while (iterator.hasNext()) {
    Header header=iterator.next();
    response.addHeader(header.getName(),header.getValue());
  }
}

Fixed version (ground truth):
public void copyHeaders(HttpServletResponse response){
  Iterator<Header> iterator=headers.iterator();
  while (iterator.hasNext()) {
    Header header=iterator.next();
    if (!"String_Node_Str".equalsIgnoreCase(header.getName()))     response.addHeader(header.getName(),header.getValue());
  }
}
Program: 35850
Project: 35850
Buggy source:
public void testMasterWebapp() throws Exception {
  HttpAssert.assertBodyGetEqualsLocalFile(getAbsoluteURL("String_Node_Str"),referencePath("String_Node_Str"));
}

Fixed version (ground truth):
public void testMasterWebapp(){
  HttpAssert.assertBodyGetEqualsLocalFile(getAbsoluteURL("String_Node_Str"),referencePath("String_Node_Str"));
}
Program: 35851
Project: 35851
Buggy source:
public void testBlockAndReplace() throws Exception {
  HttpMethod res=createGet("String_Node_Str");
  HttpAssert.assertStatus(res,200);
  HttpAssert.assertBodyContains(res,"String_Node_Str");
  HttpAssert.assertBodyContains(res,"String_Node_Str");
  HttpAssert.assertBodyNotContains(res,"String_Node_Str");
}

Fixed version (ground truth):
public void testBlockAndReplace(){
  HttpMethod res=createGet("String_Node_Str");
  HttpAssert.assertStatus(res,200);
  HttpAssert.assertBodyContains(res,"String_Node_Str");
  HttpAssert.assertBodyContains(res,"String_Node_Str");
  HttpAssert.assertBodyNotContains(res,"String_Node_Str");
}
Program: 35852
Project: 35852
Buggy source:
public void testProviderWebapp() throws Exception {
  HttpAssert.assertBodyGetEqualsLocalFile(getAbsoluteURL("String_Node_Str"),referencePath("String_Node_Str"));
}

Fixed version (ground truth):
public void testProviderWebapp(){
  HttpAssert.assertBodyGetEqualsLocalFile(getAbsoluteURL("String_Node_Str"),referencePath("String_Node_Str"));
}
Program: 35853
Project: 35853
Buggy source:
public WATTests() throws IOException {
  super("String_Node_Str");
  File refPath=new File(System.getenv("String_Node_Str"));
  refPathPrefix=refPath.getAbsolutePath();
  if (!refPathPrefix.endsWith(File.separator))   refPathPrefix+=File.separator;
}

Fixed version (ground truth):
public WATTests(){
  super("String_Node_Str");
  File refPath=new File(System.getenv("String_Node_Str"));
  refPathPrefix=refPath.getAbsolutePath();
  if (!refPathPrefix.endsWith(File.separator))   refPathPrefix+=File.separator;
}
Program: 35854
Project: 35854
Buggy source:
public void testBlock() throws Exception {
  HttpMethod res=new GetMethod(getAbsoluteURL("String_Node_Str"));
  HttpAssert.assertStatus(res,200);
  HttpAssert.assertBodyContains(res,"String_Node_Str");
}

Fixed version (ground truth):
public void testBlock(){
  HttpMethod res=new GetMethod(getAbsoluteURL("String_Node_Str"));
  HttpAssert.assertStatus(res,200);
  HttpAssert.assertBodyContains(res,"String_Node_Str");
}
Program: 35855
Project: 35855
Buggy source:
public void testAggregatorWebapp() throws Exception {
  HttpAssert.assertBodyGetEqualsLocalFile(getAbsoluteURL("String_Node_Str"),referencePath("String_Node_Str"));
}

Fixed version (ground truth):
public void testAggregatorWebapp(){
  HttpAssert.assertBodyGetEqualsLocalFile(getAbsoluteURL("String_Node_Str"),referencePath("String_Node_Str"));
}
Program: 35856
Project: 35856
Buggy source:
/** 
 * Renders the Resource to an Output
 * @param output The output to render the resource to.
 * @throws IOException
 */
public void render(Output output) throws IOException ;

Fixed version (ground truth):
/** 
 * Renders the Resource to an Output
 * @param output The output to render the resource to.
 * @throws IOException If an exception occurs while rendering to the output
 */
public void render(Output output) throws IOException ;
Program: 35857
Project: 35857
Buggy source:
public ConfigurationException(String message){
  super(message);
}

Fixed version (ground truth):
public ConfigurationException(IOException e){
  super(e);
}
Program: 35858
Project: 35858
Buggy source:
public Driver(Properties props){
  baseURL=props.getProperty("String_Node_Str");
  if (baseURL != null) {
    MultiThreadedHttpConnectionManager connectionManager=new MultiThreadedHttpConnectionManager();
    int maxConnectionsPerHost=20;
    if (props.getProperty("String_Node_Str") != null)     maxConnectionsPerHost=Integer.parseInt(props.getProperty("String_Node_Str"));
    connectionManager.getParams().setDefaultMaxConnectionsPerHost(maxConnectionsPerHost);
    httpClient=new HttpClient(connectionManager);
    if (props.getProperty("String_Node_Str") != null) {
      timeout=Integer.parseInt(props.getProperty("String_Node_Str"));
      httpClient.getParams().setSoTimeout(timeout);
      httpClient.getHttpConnectionManager().getParams().setConnectionTimeout(timeout);
    }
  }
  if (props.getProperty("String_Node_Str") != null)   cacheRefreshDelay=Integer.parseInt(props.getProperty("String_Node_Str"));
  if (props.getProperty("String_Node_Str") != null)   cacheMaxFileSize=Integer.parseInt(props.getProperty("String_Node_Str"));
  localBase=props.getProperty("String_Node_Str");
  if (props.getProperty("String_Node_Str") != null)   putInCache=Boolean.parseBoolean(props.getProperty("String_Node_Str"));
}

Fixed version (ground truth):
public Driver(Properties props){
  baseURL=props.getProperty("String_Node_Str");
  if (baseURL != null) {
    MultiThreadedHttpConnectionManager connectionManager=new MultiThreadedHttpConnectionManager();
    int maxConnectionsPerHost=20;
    if (props.getProperty("String_Node_Str") != null)     maxConnectionsPerHost=Integer.parseInt(props.getProperty("String_Node_Str"));
    connectionManager.getParams().setDefaultMaxConnectionsPerHost(maxConnectionsPerHost);
    httpClient=new HttpClient(connectionManager);
    if (props.getProperty("String_Node_Str") != null) {
      timeout=Integer.parseInt(props.getProperty("String_Node_Str"));
      httpClient.getParams().setSoTimeout(timeout);
      httpClient.getHttpConnectionManager().getParams().setConnectionTimeout(timeout);
    }
  }
  if (props.getProperty("String_Node_Str") != null)   cacheRefreshDelay=Integer.parseInt(props.getProperty("String_Node_Str"));
  if (props.getProperty("String_Node_Str") != null)   cacheMaxFileSize=Integer.parseInt(props.getProperty("String_Node_Str"));
  localBase=props.getProperty("String_Node_Str");
  if (props.getProperty("String_Node_Str") != null)   putInCache=Boolean.parseBoolean(props.getProperty("String_Node_Str"));
  if (props.getProperty("String_Node_Str") != null)   useCache=Boolean.parseBoolean(props.getProperty("String_Node_Str"));
}
Program: 35859
Project: 35859
Buggy source:
/** 
 * Loads all the instances according to default configuration file
 */
public final static void configure(){
  Properties props=new Properties();
  try {
    props.load(Driver.class.getResourceAsStream("String_Node_Str"));
  }
 catch (  IOException e) {
    throw new ExceptionInInitializerError(e);
  }
  configure(props);
}

Fixed version (ground truth):
/** 
 * Loads all the instances according to default configuration file
 */
public final static void configure(){
  try {
    InputStream inputStream=Driver.class.getResourceAsStream("String_Node_Str");
    if (inputStream != null) {
      Properties props=new Properties();
      props.load(inputStream);
      configure(props);
    }
  }
 catch (  IOException e) {
    throw new ConfigurationException(e);
  }
}
Program: 35860
Project: 35860
Buggy source:
/** 
 * Retrieves the default instance of this class that is configured according to the properties file (driver.properties)
 * @param instanceName The name of the instance (corresponding to the prefix in the driver.properties file)
 * @return the named instance
 */
public synchronized final static Driver getInstance(String instanceName){
  if (instanceName == null)   instanceName="String_Node_Str";
  if (instances == null) {
    configure();
  }
  Driver instance=instances.get(instanceName);
  if (instance == null)   throw new ConfigurationException("String_Node_Str" + instanceName);
  return instance;
}

Fixed version (ground truth):
/** 
 * Retrieves the default instance of this class that is configured according to the properties file (driver.properties)
 * @param instanceName The name of the instance (corresponding to the prefix in the driver.properties file)
 * @return the named instance
 */
public final static Driver getInstance(String instanceName){
  if (instances == null)   throw new ConfigurationException("String_Node_Str");
  if (instanceName == null)   instanceName="String_Node_Str";
  Driver instance=instances.get(instanceName);
  if (instance == null)   throw new ConfigurationException("String_Node_Str" + instanceName);
  return instance;
}
Program: 35863
Project: 35863
Buggy source:
public ParsedDateComponent(ParsedDateComponent other){
  this.impliedValues.putAll(other.knownValues);
  this.impliedValues.putAll(other.impliedValues);
}

Fixed version (ground truth):
public ParsedDateComponent(ParsedDateComponent other){
  this.knownValues.putAll(other.knownValues);
  this.impliedValues.putAll(other.impliedValues);
}
Program: 35869
Project: 35869
Buggy source:
/** 
 * This method parses an String containing network={} from 'wpa_supplicant.conf'
 */
@SuppressLint("String_Node_Str") private static void parse(List<String> configurationFile){
  Network network=null;
  for (  String string : configurationFile) {
    if (network == null) {
      if (string.startsWith(WIFI_BLOCK_START)) {
        network=new Network();
      }
 else {
      }
    }
 else {
      if (string.startsWith(WIFI_BLOCK_END)) {
        networks.add(network);
        network=null;
      }
 else {
        String[] entry=string.split("String_Node_Str");
        if (entry.length == 2) {
          try {
            entry[0]=entry[0].trim().toUpperCase();
            network.put(SupplicantKey.valueOf(entry[0]),entry[1].replace("String_Node_Str","String_Node_Str"));
          }
 catch (          IllegalArgumentException iae) {
            WiFiKeyView.verboseLog(NetworkParser.class,"String_Node_Str","String_Node_Str" + entry[0]);
          }
        }
 else {
          WiFiKeyView.verboseLog(NetworkParser.class,"String_Node_Str","String_Node_Str" + string);
        }
      }
    }
  }
}

Fixed version (ground truth):
/** 
 * This method parses an String containing network={} from 'wpa_supplicant.conf'
 */
@SuppressLint("String_Node_Str") private static void parse(List<String> configurationFile){
  Network network=null;
  for (  String string : configurationFile) {
    if (network == null) {
      if (string.startsWith(WIFI_BLOCK_START)) {
        network=new Network();
      }
 else {
      }
    }
 else {
      if (string.startsWith(WIFI_BLOCK_END)) {
        networks.add(network);
        network=null;
      }
 else {
        int equalsChar=string.indexOf('=');
        String key=new String(string.substring(0,equalsChar).toUpperCase().trim());
        String value=new String(string.substring(equalsChar + 1).replace("String_Node_Str","String_Node_Str").trim());
        try {
          network.put(SupplicantKey.valueOf(key),value);
        }
 catch (        IllegalArgumentException iae) {
          WiFiKeyView.verboseLog(NetworkParser.class,"String_Node_Str","String_Node_Str" + key);
        }
      }
    }
  }
}
Program: 35870
Project: 35870
Buggy source:
@Override public void onParserDone(List<Network> networkList){
  for (  Network network : networkList) {
    if (DBG) {
      Log.v(TAG,"String_Node_Str" + network.getSsid());
      Log.v(TAG,"String_Node_Str" + network.getPassword());
    }
    if (network.getSsid().equals(ssid)) {
      getDialog(context,ssid,network.getPassword()).show();
      break;
    }
  }
}

Fixed version (ground truth):
@Override public void onParserDone(List<Network> networkList){
  for (  Network network : networkList) {
    if (DBG) {
      XposedBridge.log(TAG + "String_Node_Str" + network.getSsid());
      XposedBridge.log(TAG + "String_Node_Str" + network.getPassword());
    }
    if (network.getSsid().equals(ssid)) {
      getDialog(context,ssid,network.getPassword()).show();
      break;
    }
  }
}
Program: 35871
Project: 35871
Buggy source:
private void setIds(Class<?> SettingsClazz){
  try {
    MENU_ID_MODIFY=XposedHelpers.getIntField(SettingsClazz,"String_Node_Str");
    MENU_ID_SHOWPASSWORD=MENU_ID_MODIFY + 1;
  }
 catch (  Exception e) {
    try {
      MENU_ID_MODIFY=XposedHelpers.getIntField(SettingsClazz,"String_Node_Str");
      MENU_ID_SHOWPASSWORD=MENU_ID_MODIFY + 1;
    }
 catch (    Exception e1) {
    }
  }
}

Fixed version (ground truth):
private void setIds(Class<?> SettingsClazz){
  try {
    Field modify=SettingsClazz.getDeclaredField("String_Node_Str");
    modify.setAccessible(true);
    MENU_ID_MODIFY=modify.getInt(null);
    MENU_ID_SHOWPASSWORD=MENU_ID_MODIFY + 1;
  }
 catch (  Exception e) {
    try {
      Field modify=SettingsClazz.getDeclaredField("String_Node_Str");
      modify.setAccessible(true);
      MENU_ID_MODIFY=modify.getInt(null);
      MENU_ID_SHOWPASSWORD=MENU_ID_MODIFY + 1;
    }
 catch (    Exception e1) {
    }
  }
  if (DBG) {
    XposedBridge.log(TAG + "String_Node_Str" + MENU_ID_MODIFY);
    XposedBridge.log(TAG + "String_Node_Str" + MENU_ID_SHOWPASSWORD);
  }
}