Program: 60533
Project: 60533
Buggy source:
@SuppressWarnings({"String_Node_Str","String_Node_Str"}) private void setupSyncopeConf(){
  WebMarkupContainer parameters=new WebMarkupContainer("String_Node_Str");
  add(parameters);
  MetaDataRoleAuthorizationStrategy.authorize(parameters,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  final ConfTO conf=confRestClient.list();
  for (Iterator<AttributeTO> it=conf.getAttrs().iterator(); it.hasNext(); ) {
    AttributeTO attr=it.next();
    for (    LayoutType type : LayoutType.values()) {
      if (type.getParameter().equals(attr.getSchema())) {
        it.remove();
      }
    }
  }
  final Form<?> form=new Form<Void>("String_Node_Str");
  form.setModel(new CompoundPropertyModel(conf));
  parameters.add(form);
  form.add(new AttributesPanel("String_Node_Str",conf,form,Mode.ADMIN));
  IndicatingAjaxLink<Void> save=new IndicatingAjaxLink<Void>("String_Node_Str"){
    private static final long serialVersionUID=-7978723352517770644L;
    @Override public void onClick(    final AjaxRequestTarget target){
      final ConfTO updatedConf=(ConfTO)form.getModelObject();
      try {
        for (        AttributeTO attr : updatedConf.getAttrs()) {
          if (attr.getValues().isEmpty() || attr.getValues().equals(Collections.singletonList(StringUtils.EMPTY))) {
            confRestClient.delete(attr.getSchema());
          }
 else {
            confRestClient.set(attr);
          }
        }
        info(getString(Constants.OPERATION_SUCCEEDED));
        feedbackPanel.refresh(target);
      }
 catch (      Exception e) {
        LOG.error("String_Node_Str",e);
        error(getString(Constants.ERROR) + "String_Node_Str" + e.getMessage());
        feedbackPanel.refresh(target);
      }
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(save,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  form.add(save);
  Link<Void> dbExportLink=new Link<Void>("String_Node_Str"){
    private static final long serialVersionUID=-4331619903296515985L;
    @Override public void onClick(){
      try {
        HttpResourceStream stream=new HttpResourceStream(confRestClient.dbExport());
        ResourceStreamRequestHandler rsrh=new ResourceStreamRequestHandler(stream);
        rsrh.setFileName(stream.getFilename() == null ? "String_Node_Str" : stream.getFilename());
        rsrh.setContentDisposition(ContentDisposition.ATTACHMENT);
        getRequestCycle().scheduleRequestHandlerAfterCurrent(rsrh);
      }
 catch (      Exception e) {
        error(getString(Constants.ERROR) + "String_Node_Str" + e.getMessage());
      }
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(dbExportLink,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  add(dbExportLink);
}

Fixed version (ground truth):
@SuppressWarnings({"String_Node_Str","String_Node_Str"}) private void setupSyncopeConf(){
  WebMarkupContainer parameters=new WebMarkupContainer("String_Node_Str");
  add(parameters);
  MetaDataRoleAuthorizationStrategy.authorize(parameters,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  final ConfTO conf=confRestClient.list();
  for (Iterator<AttributeTO> it=conf.getAttrs().iterator(); it.hasNext(); ) {
    AttributeTO attr=it.next();
    for (    AttrLayoutType type : AttrLayoutType.values()) {
      if (type.getConfKey().equals(attr.getSchema())) {
        it.remove();
      }
    }
  }
  final Form<?> form=new Form<Void>("String_Node_Str");
  form.setModel(new CompoundPropertyModel(conf));
  parameters.add(form);
  form.add(new AttributesPanel("String_Node_Str",conf,form,Mode.ADMIN));
  IndicatingAjaxLink<Void> save=new IndicatingAjaxLink<Void>("String_Node_Str"){
    private static final long serialVersionUID=-7978723352517770644L;
    @Override public void onClick(    final AjaxRequestTarget target){
      final ConfTO updatedConf=(ConfTO)form.getModelObject();
      try {
        for (        AttributeTO attr : updatedConf.getAttrs()) {
          if (attr.getValues().isEmpty() || attr.getValues().equals(Collections.singletonList(StringUtils.EMPTY))) {
            confRestClient.delete(attr.getSchema());
          }
 else {
            confRestClient.set(attr);
          }
        }
        info(getString(Constants.OPERATION_SUCCEEDED));
        feedbackPanel.refresh(target);
      }
 catch (      Exception e) {
        LOG.error("String_Node_Str",e);
        error(getString(Constants.ERROR) + "String_Node_Str" + e.getMessage());
        feedbackPanel.refresh(target);
      }
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(save,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  form.add(save);
  Link<Void> dbExportLink=new Link<Void>("String_Node_Str"){
    private static final long serialVersionUID=-4331619903296515985L;
    @Override public void onClick(){
      try {
        HttpResourceStream stream=new HttpResourceStream(confRestClient.dbExport());
        ResourceStreamRequestHandler rsrh=new ResourceStreamRequestHandler(stream);
        rsrh.setFileName(stream.getFilename() == null ? "String_Node_Str" : stream.getFilename());
        rsrh.setContentDisposition(ContentDisposition.ATTACHMENT);
        getRequestCycle().scheduleRequestHandlerAfterCurrent(rsrh);
      }
 catch (      Exception e) {
        error(getString(Constants.ERROR) + "String_Node_Str" + e.getMessage());
      }
    }
  }
;
  MetaDataRoleAuthorizationStrategy.authorize(dbExportLink,ENABLE,xmlRolesReader.getAllAllowedRoles("String_Node_Str","String_Node_Str"));
  add(dbExportLink);
}