nus-yam/ex-repair huggingface dataset:
Program: 53131
Project: 53131
Buggy source:
@Override public void export(TrackReader trackReader,TrackExporterConfiguration config,File file,String title) throws IOException {
  this.trackReader=trackReader;
  this.config=config;
  this.writer=new FileWriter(file);
  this.title=title;
  boolean trackStarted=false;
  try {
    writeStart();
    while (true) {
      TrackPoint point=trackReader.readNextPoint();
      if (point == null) {
        break;
      }
      if (!trackStarted || (point.flightMode != null && !point.flightMode.equals(flightMode))) {
        flightMode=point.flightMode;
        trackStarted=true;
        String trackPartName;
        if (point.flightMode != null) {
          trackPartName=String.format("String_Node_Str",trackPart,point.flightMode);
          trackPart++;
        }
 else {
          trackPartName="String_Node_Str";
        }
        writeTrackPartStart(trackPartName);
      }
      writePoint(point);
    }
    if (trackStarted) {
      writeTrackPartEnd();
    }
    writeEnd();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
 finally {
    this.writer.close();
  }
}

Fixed version (ground truth):
@Override public void export(TrackReader trackReader,TrackExporterConfiguration config,File file,String title) throws IOException {
  this.trackReader=trackReader;
  this.config=config;
  this.writer=new BufferedWriter(new FileWriter(file));
  this.title=title;
  boolean trackStarted=false;
  try {
    writeStart();
    while (true) {
      TrackPoint point=trackReader.readNextPoint();
      if (point == null) {
        break;
      }
      if (!trackStarted || (point.flightMode != null && !point.flightMode.equals(flightMode))) {
        if (trackStarted) {
          writePoint(point);
          writeTrackPartEnd();
        }
        flightMode=point.flightMode;
        String trackPartName;
        if (point.flightMode != null) {
          trackPartName=String.format("String_Node_Str",trackPart,point.flightMode);
          trackPart++;
        }
 else {
          trackPartName="String_Node_Str";
        }
        writeTrackPartStart(trackPartName);
        trackStarted=true;
      }
      writePoint(point);
    }
    if (trackStarted) {
      writeTrackPartEnd();
    }
    writeEnd();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
 finally {
    this.writer.close();
  }
}
Program: 53132
Project: 53132
Buggy source:
@Override protected void writeTrackPartStart(String trackPartName) throws IOException {
  String styleId=getStyleForFlightMode(flightMode);
  writer.write("String_Node_Str");
  writer.write("String_Node_Str" + trackPartName + "String_Node_Str");
  writer.write("String_Node_Str");
  writer.write("String_Node_Str" + styleId + "String_Node_Str");
  writer.write("String_Node_Str");
  writer.write("String_Node_Str");
  writer.write("String_Node_Str");
}

Fixed version (ground truth):
@Override protected void writeTrackPartStart(String trackPartName) throws IOException {
  String styleId=getStyleForFlightMode(flightMode);
  writer.write("String_Node_Str");
  writer.write("String_Node_Str" + trackPartName + "String_Node_Str");
  writer.write("String_Node_Str");
  writer.write("String_Node_Str" + styleId + "String_Node_Str");
  writer.write("String_Node_Str" + trackPartName + "String_Node_Str");
  writer.write("String_Node_Str");
  writer.write("String_Node_Str");
}
Program: 53134
Project: 53134
Buggy source:
public void loadWindowPreferences(Component window,Preferences windowPreferences,int defaultWidth,int defaultHeight){
  if (defaultWidth > 0)   window.setSize(windowPreferences.getInt("String_Node_Str",defaultWidth),windowPreferences.getInt("String_Node_Str",defaultHeight));
  window.setLocation(windowPreferences.getInt("String_Node_Str",0),windowPreferences.getInt("String_Node_Str",0));
}

Fixed version (ground truth):
public void loadWindowPreferences(Component window,Preferences windowPreferences,int defaultWidth,int defaultHeight){
  if (defaultWidth > 0) {
    window.setSize(windowPreferences.getInt("String_Node_Str",defaultWidth),windowPreferences.getInt("String_Node_Str",defaultHeight));
  }
  window.setLocation(windowPreferences.getInt("String_Node_Str",0),windowPreferences.getInt("String_Node_Str",0));
}
Program: 53135
Project: 53135
Buggy source:
@Override public void init(){
  super.init();
  valuesPrev=new double[param_Fields.length];
  timesPrev=new double[param_Fields.length];
}

Fixed version (ground truth):
@Override public void init(){
  super.init();
  valuesPrev=new double[param_Fields.length];
  timesPrev=new double[param_Fields.length];
  for (int i=0; i < param_Fields.length; i++) {
    valuesPrev[i]=Double.NaN;
    timesPrev[i]=Double.NaN;
  }
}
Program: 53136
Project: 53136
Buggy source:
@Override protected double postProcessValue(int idx,double time,double in){
  double out;
  if (!Double.isNaN(timesPrev[idx])) {
    out=(in - valuesPrev[idx]) / (time - timesPrev[idx]);
  }
 else {
    out=Double.NaN;
  }
  valuesPrev[idx]=in;
  timesPrev[idx]=time;
  return out;
}

Fixed version (ground truth):
@Override protected double postProcessValue(int idx,double time,double in){
  double out=Double.NaN;
  if (!Double.isNaN(timesPrev[idx])) {
    double dt=time - timesPrev[idx];
    if (dt > 1.0e-5) {
      out=(in - valuesPrev[idx]) / dt;
    }
  }
  valuesPrev[idx]=in;
  timesPrev[idx]=time;
  return out;
}
Program: 53137
Project: 53137
Buggy source:
@Override public void init(){
  q=new double[4];
  param_Fields=((String)parameters.get("String_Node_Str")).split(WHITESPACE_RE);
  param_Scale=(Double)parameters.get("String_Node_Str");
  String showStr=((String)parameters.get("String_Node_Str")).toUpperCase();
  show=new boolean[]{false,false,false};
  String[] axes=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str"};
  for (int i=0; i < 3; i++) {
    String axisName=axes[i];
    show[i]=showStr.contains(axisName.substring(0,1));
    if (show[i]) {
      addSeries(axisName);
    }
  }
}

Fixed version (ground truth):
@Override public void init(){
  q=new double[4];
  param_Fields=((String)parameters.get("String_Node_Str")).split(WHITESPACE_RE);
  param_Scale=(Double)parameters.get("String_Node_Str");
  String showStr=((String)parameters.get("String_Node_Str")).toUpperCase();
  show=new boolean[]{false,false,false};
  String[] axes=new String[]{"String_Node_Str","String_Node_Str","String_Node_Str"};
  for (int axis=0; axis < 3; axis++) {
    String axisName=axes[axis];
    show[axis]=showStr.contains(axisName.substring(0,1));
    if (show[axis]) {
      addSeries(axisName);
    }
  }
}
Program: 53138
Project: 53138
Buggy source:
@Override public void process(double time,Map<String,Object> update){
  if (param_Fields.length < 4) {
    return;
  }
  for (int i=0; i < 4; i++) {
    Number v=(Number)update.get(param_Fields[i]);
    if (v == null) {
      return;
    }
    q[i]=v.doubleValue();
  }
  double[] euler=RotationConversion.eulerAnglesByQuaternion(q);
  for (int axis=0; axis < 3; axis++) {
    addPoint(axis,time,euler[axis] * param_Scale);
  }
}

Fixed version (ground truth):
@Override public void process(double time,Map<String,Object> update){
  if (param_Fields.length < 4) {
    return;
  }
  for (int i=0; i < 4; i++) {
    Number v=(Number)update.get(param_Fields[i]);
    if (v == null) {
      return;
    }
    q[i]=v.doubleValue();
  }
  double[] euler=RotationConversion.eulerAnglesByQuaternion(q);
  int plot_idx=0;
  for (int axis=0; axis < 3; axis++) {
    if (show[axis]) {
      addPoint(plot_idx++,time,euler[axis] * param_Scale);
    }
  }
}
Program: 53139
Project: 53139
Buggy source:
private void onParameterChanged(int row){
  ProcessorPreset selectedProcessor=(ProcessorPreset)processorsList.getSelectedValue();
  if (selectedProcessor != null) {
    String key=parametersTableModel.getValueAt(row,0).toString();
    Object value=parametersTableModel.getValueAt(row,1);
    if (value instanceof Color) {
      selectedProcessor.getColors().put(key.substring(colorParamPrefix.length(),key.length()),(Color)value);
      setChartColors();
    }
 else {
      try {
        updatePresetParameters(selectedProcessor,Collections.<String,Object>singletonMap(key,value.toString()));
        updatePresetEdited(true);
      }
 catch (      Exception e) {
        e.printStackTrace();
        setStatus("String_Node_Str" + e);
      }
      parametersTableModel.removeTableModelListener(parameterChangedListener);
      showProcessorParameters();
      parametersTableModel.addTableModelListener(parameterChangedListener);
      parametersTable.addRowSelectionInterval(row,row);
      processFile();
    }
  }
}

Fixed version (ground truth):
private void onParameterChanged(int row){
  if (editingProcessor != null) {
    String key=parametersTableModel.getValueAt(row,0).toString();
    Object value=parametersTableModel.getValueAt(row,1);
    if (value instanceof Color) {
      editingProcessor.getColors().put(key.substring(colorParamPrefix.length(),key.length()),(Color)value);
      setChartColors();
    }
 else {
      try {
        updatePresetParameters(editingProcessor,Collections.<String,Object>singletonMap(key,value.toString()));
        updatePresetEdited(true);
      }
 catch (      Exception e) {
        e.printStackTrace();
        setStatus("String_Node_Str" + e);
      }
      parametersTableModel.removeTableModelListener(parameterChangedListener);
      showProcessorParameters();
      parametersTableModel.addTableModelListener(parameterChangedListener);
      parametersTable.addRowSelectionInterval(row,row);
      processFile();
    }
  }
}
Program: 53141
Project: 53141
Buggy source:
public ParamValueTableCellEditor(ColorSupplier colorSupplier){
  this.colorSupplier=colorSupplier;
}

Fixed version (ground truth):
public ParamValueTableCellEditor(FlightPlot app){
  this.app=app;
}
Program: 53142
Project: 53142
Buggy source:
@Override public Component getTableCellEditorComponent(JTable table,Object value,boolean isSelected,int row,int column){
  if (value instanceof Color) {
    editor=new ColorParamTableCellEditor(colorSupplier);
    ((ColorParamTableCellEditor)editor).getComponent().addActionListener(new ActionDelegate());
  }
 else   if (value instanceof String) {
    JTextField textField=new JTextField();
    textField.setFont(table.getFont());
    textField.setBorder(BorderFactory.createLineBorder(Color.BLACK));
    editor=new DefaultCellEditor(textField);
    ((JTextField)((DefaultCellEditor)editor).getComponent()).addActionListener(new ActionDelegate());
  }
  return editor.getTableCellEditorComponent(table,value,isSelected,row,column);
}

Fixed version (ground truth):
@Override public Component getTableCellEditorComponent(JTable table,Object value,boolean isSelected,int row,int column){
  app.setEditingProcessor();
  if (value instanceof Color) {
    editor=new ColorParamTableCellEditor(app.getColorSupplier());
    ((ColorParamTableCellEditor)editor).getComponent().addActionListener(new ActionDelegate());
  }
 else   if (value instanceof String) {
    JTextField textField=new JTextField();
    textField.setFont(table.getFont());
    textField.setBorder(BorderFactory.createLineBorder(Color.BLACK));
    editor=new DefaultCellEditor(textField);
    ((JTextField)((DefaultCellEditor)editor).getComponent()).addActionListener(new ActionDelegate());
  }
  return editor.getTableCellEditorComponent(table,value,isSelected,row,column);
}
Program: 53144
Project: 53144
Buggy source:
private void onAddProcessorDialogOK(){
  updatePresetEdited(true);
  ProcessorPreset processorPreset=addProcessorDialog.getOrigProcessorPreset();
  String title=addProcessorDialog.getProcessorTitle();
  String processorType=addProcessorDialog.getProcessorType();
  if (processorPreset != null) {
    Map<String,Object> parameters=null;
    if (!processorPreset.getProcessorType().equals(processorType)) {
      parameters=processorPreset.getParameters();
      processorPreset=new ProcessorPreset(title,processorType,Collections.<String,Object>emptyMap(),Collections.<String,Color>emptyMap());
    }
 else {
      processorPreset.setTitle(title);
    }
    updatePresetParameters(processorPreset,parameters);
    int idx=processorsListModel.indexOf(processorPreset);
    processorsListModel.set(idx,processorPreset);
    processorsList.setSelectedValue(processorPreset,true);
    showProcessorParameters();
  }
 else {
    processorPreset=new ProcessorPreset(title,processorType,Collections.<String,Object>emptyMap(),Collections.<String,Color>emptyMap());
    updatePresetParameters(processorPreset,null);
    processorsListModel.addElement(processorPreset);
    processorsList.setSelectedValue(processorPreset,true);
  }
  updateUsedColors();
  processFile();
}

Fixed version (ground truth):
private void onAddProcessorDialogOK(){
  updatePresetEdited(true);
  ProcessorPreset processorPreset=addProcessorDialog.getOrigProcessorPreset();
  String title=addProcessorDialog.getProcessorTitle();
  String processorType=addProcessorDialog.getProcessorType();
  if (processorPreset != null) {
    Map<String,Object> parameters=null;
    ProcessorPreset processorPresetNew=processorPreset;
    if (!processorPreset.getProcessorType().equals(processorType)) {
      parameters=processorPreset.getParameters();
      processorPresetNew=new ProcessorPreset(title,processorType,new HashMap<String,Object>(),Collections.<String,Color>emptyMap());
    }
 else {
      processorPresetNew.setTitle(title);
    }
    updatePresetParameters(processorPresetNew,parameters);
    int idx=processorsListModel.indexOf(processorPreset);
    processorsListModel.set(idx,processorPresetNew);
    processorsList.setSelectedValue(processorPresetNew,true);
    showProcessorParameters();
  }
 else {
    processorPreset=new ProcessorPreset(title,processorType,Collections.<String,Object>emptyMap(),Collections.<String,Color>emptyMap());
    updatePresetParameters(processorPreset,null);
    processorsListModel.addElement(processorPreset);
    processorsList.setSelectedValue(processorPreset,true);
  }
  updateUsedColors();
  processFile();
}
Program: 53147
Project: 53147
Buggy source:
private void onParameterChanged(int row){
  ProcessorPreset selectedProcessor=(ProcessorPreset)processorsList.getSelectedValue();
  if (selectedProcessor != null) {
    String key=parametersTableModel.getValueAt(row,0).toString();
    String value=(String)parametersTableModel.getValueAt(row,1);
    try {
      selectedProcessor.setParameter(key,value);
      updatePresetParameters(selectedProcessor,Collections.<String,Object>singletonMap(key,value));
      updatePresetEdited(true);
    }
 catch (    Exception e) {
      setStatus("String_Node_Str" + e);
    }
    parametersTableModel.removeTableModelListener(parameterChangedListener);
    showProcessorParameters();
    parametersTableModel.addTableModelListener(parameterChangedListener);
    processFile();
  }
}

Fixed version (ground truth):
private void onParameterChanged(int row){
  ProcessorPreset selectedProcessor=(ProcessorPreset)processorsList.getSelectedValue();
  if (selectedProcessor != null) {
    String key=parametersTableModel.getValueAt(row,0).toString();
    Object value=parametersTableModel.getValueAt(row,1);
    if (value instanceof Color) {
      selectedProcessor.getColors().put(key.substring(colorParamPrefix.length(),key.length()),(Color)value);
      setChartColors();
    }
 else {
      try {
        updatePresetParameters(selectedProcessor,Collections.<String,Object>singletonMap(key,value.toString()));
        updatePresetEdited(true);
      }
 catch (      Exception e) {
        e.printStackTrace();
        setStatus("String_Node_Str" + e);
      }
      parametersTableModel.removeTableModelListener(parameterChangedListener);
      showProcessorParameters();
      parametersTableModel.addTableModelListener(parameterChangedListener);
      processFile();
    }
  }
}
Program: 53148
Project: 53148
Buggy source:
private void showProcessorParameters(){
  while (parametersTableModel.getRowCount() > 0) {
    parametersTableModel.removeRow(0);
  }
  ProcessorPreset selectedProcessor=(ProcessorPreset)processorsList.getSelectedValue();
  if (selectedProcessor != null) {
    Map<String,Object> params=selectedProcessor.getParameters();
    List<String> keys=new ArrayList<String>(params.keySet());
    Collections.sort(keys);
    for (    String key : keys) {
      parametersTableModel.addRow(new Object[]{key,formatParameterValue(params.get(key))});
    }
  }
}

Fixed version (ground truth):
private void showProcessorParameters(){
  while (parametersTableModel.getRowCount() > 0) {
    parametersTableModel.removeRow(0);
  }
  ProcessorPreset selectedProcessor=(ProcessorPreset)processorsList.getSelectedValue();
  if (selectedProcessor != null) {
    Map<String,Object> params=selectedProcessor.getParameters();
    List<String> param_keys=new ArrayList<String>(params.keySet());
    Collections.sort(param_keys);
    for (    String key : param_keys) {
      parametersTableModel.addRow(new Object[]{key,formatParameterValue(params.get(key))});
    }
    Map<String,Color> colors=selectedProcessor.getColors();
    List<String> color_keys=new ArrayList<String>(colors.keySet());
    Collections.sort(color_keys);
    for (    String key : color_keys) {
      parametersTableModel.addRow(new Object[]{colorParamPrefix + key,colors.get(key)});
    }
  }
}
Program: 53150
Project: 53150
Buggy source:
private void updatePresetParameters(ProcessorPreset processorPreset,Map<String,Object> parametersUpdate){
  PlotProcessor p;
  try {
    p=processorsTypesList.getProcessorInstance(processorPreset,0.0);
  }
 catch (  Exception e) {
    setStatus("String_Node_Str" + processorPreset + "String_Node_Str");
    e.printStackTrace();
    return;
  }
  if (parametersUpdate != null) {
    p.setParameters(parametersUpdate);
  }
  processorPreset.setParameters(p.getParameters());
  p.init();
  for (  Series series : p.getSeriesList()) {
    if (series.getColor() == null) {
      series.setColor(colorSupplier.getNextColor(series.getTitle()));
    }
  }
  processorPreset.setColors(p.getColors());
}

Fixed version (ground truth):
private void updatePresetParameters(ProcessorPreset processorPreset,Map<String,Object> parametersUpdate){
  if (parametersUpdate != null) {
    processorPreset.getParameters().putAll(parametersUpdate);
  }
  PlotProcessor p;
  try {
    p=processorsTypesList.getProcessorInstance(processorPreset,0.0);
  }
 catch (  Exception e) {
    setStatus("String_Node_Str" + processorPreset + "String_Node_Str");
    e.printStackTrace();
    return;
  }
  processorPreset.setParameters(p.getParameters());
  Map<String,Color> colorsNew=new HashMap<String,Color>();
  for (  Series series : p.getSeriesList()) {
    Color color=processorPreset.getColors().get(series.getTitle());
    if (color == null) {
      color=colorSupplier.getNextColor(series.getTitle());
    }
    colorsNew.put(series.getTitle(),color);
  }
  processorPreset.setColors(colorsNew);
}
Program: 53151
Project: 53151
Buggy source:
public void setParameters(Map<String,Object> parametersNew){
  for (  Map.Entry<String,Object> entry : parametersNew.entrySet()) {
    String key=entry.getKey();
    Object oldValue=parameters.get(key);
    Object newValue=parametersNew.get(key);
    if (oldValue != null) {
      parameters.put(key,newValue);
    }
  }
}

Fixed version (ground truth):
public void setParameters(Map<String,Object> parametersNew){
  for (  Map.Entry<String,Object> entry : parametersNew.entrySet()) {
    String key=entry.getKey();
    Object oldValue=parameters.get(key);
    Object newValue=parametersNew.get(key);
    if (oldValue != null) {
      parameters.put(key,castValue(oldValue,newValue));
    }
  }
}
Program: 53152
Project: 53152
Buggy source:
public PlotProcessor getProcessorInstance(ProcessorPreset processorPreset,double skipOut) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {
  Class<? extends PlotProcessor> procClass=processors.get(processorPreset.getProcessorType());
  if (procClass != null) {
    PlotProcessor processor=procClass.newInstance();
    processor.setSkipOut(skipOut);
    processor.setParameters(processorPreset.getParameters());
    processor.init();
    processor.setColors(processorPreset.getColors());
    return processor;
  }
 else {
    return null;
  }
}

Fixed version (ground truth):
public PlotProcessor getProcessorInstance(ProcessorPreset processorPreset,double skipOut) throws NoSuchMethodException, IllegalAccessException, InvocationTargetException, InstantiationException {
  Class<? extends PlotProcessor> procClass=processors.get(processorPreset.getProcessorType());
  if (procClass != null) {
    PlotProcessor processor=procClass.newInstance();
    processor.setSkipOut(skipOut);
    processor.setParameters(processorPreset.getParameters());
    processor.init();
    return processor;
  }
 else {
    return null;
  }
}
Program: 53153
Project: 53153
Buggy source:
@Override public void init(){
  super.init();
  param_InScale1=(Double)parameters.get("String_Node_Str");
  param_Field1=((String)parameters.get("String_Node_Str"));
  param_Operator=((String)parameters.get("String_Node_Str"));
  param_InScale2=(Double)parameters.get("String_Node_Str");
  param_Field2=((String)parameters.get("String_Node_Str"));
  param_OutScale=(Double)parameters.get("String_Node_Str");
  lowPassFilter=new LowPassFilter();
  lowPassFilter.setF((Double)parameters.get("String_Node_Str"));
  addSeries();
}

Fixed version (ground truth):
@Override public void init(){
  super.init();
  param_InScale1=(Double)parameters.get("String_Node_Str");
  param_Field1=((String)parameters.get("String_Node_Str"));
  param_Operator=((String)parameters.get("String_Node_Str"));
  param_InScale2=(Double)parameters.get("String_Node_Str");
  param_Field2=((String)parameters.get("String_Node_Str"));
  param_OutScale=(Double)parameters.get("String_Node_Str");
  param_OutOffset=(Double)parameters.get("String_Node_Str");
  lowPassFilter=new LowPassFilter();
  lowPassFilter.setF((Double)parameters.get("String_Node_Str"));
  addSeries();
}
Program: 53154
Project: 53154
Buggy source:
@Override public void process(double time,Map<String,Object> update){
  double s=0.0;
  Object v1=update.get(param_Field1);
  Object v2=update.get(param_Field2);
  if (v1 != null && v1 instanceof Number && v2 != null && v2 instanceof Number) {
    double d1=((Number)v1).doubleValue();
    double d2=((Number)v2).doubleValue();
switch (param_Operator.charAt(0)) {
case '*':
      s=d1 * d2;
    break;
case '/':
  s=d1 / d2;
break;
case '+':
s=param_InScale1 * d1 + param_InScale2 * d2;
break;
case '-':
s=param_InScale1 * d1 + param_InScale2 * d2;
break;
default :
}
}
 else {
return;
}
s=lowPassFilter.getOutput(time,s);
addPoint(0,time,s * param_OutScale);
}

Fixed version (ground truth):
@Override public void process(double time,Map<String,Object> update){
  double s=0.0;
  Object v1=update.get(param_Field1);
  Object v2=update.get(param_Field2);
  if (v1 != null && v1 instanceof Number && v2 != null && v2 instanceof Number) {
    double d1=((Number)v1).doubleValue();
    double d2=((Number)v2).doubleValue();
switch (param_Operator.charAt(0)) {
case '*':
      s=param_InScale1 * d1 * param_InScale2* d2;
    break;
case '/':
  s=param_InScale1 * d1 / (param_InScale2 * d2);
break;
case '+':
s=param_InScale1 * d1 + param_InScale2 * d2;
break;
case '-':
s=param_InScale1 * d1 - param_InScale2 * d2;
break;
default :
}
}
 else {
return;
}
s=lowPassFilter.getOutput(time,s);
addPoint(0,time,(s * param_OutScale) + param_OutOffset);
}
Program: 53155
Project: 53155
Buggy source:
@Override public Map<String,Object> getDefaultParameters(){
  Map<String,Object> params=new HashMap<String,Object>();
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str",0.0);
  return params;
}

Fixed version (ground truth):
@Override public Map<String,Object> getDefaultParameters(){
  Map<String,Object> params=new HashMap<String,Object>();
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str",0.0);
  params.put("String_Node_Str",0.0);
  return params;
}
Program: 53156
Project: 53156
Buggy source:
@Override public void init(){
  super.init();
  param_InScale1=(Double)parameters.get("String_Node_Str");
  param_Field1=((String)parameters.get("String_Node_Str"));
  param_Operator=((String)parameters.get("String_Node_Str"));
  param_InScale2=(Double)parameters.get("String_Node_Str");
  param_Field2=((String)parameters.get("String_Node_Str"));
  param_OutScale=(Double)parameters.get("String_Node_Str");
  lowPassFilter=new LowPassFilter();
  lowPassFilter.setF((Double)parameters.get("String_Node_Str"));
  addSeries();
}

Fixed version (ground truth):
@Override public void init(){
  super.init();
  param_InScale1=(Double)parameters.get("String_Node_Str");
  param_Field1=((String)parameters.get("String_Node_Str"));
  param_Operator=((String)parameters.get("String_Node_Str"));
  param_InScale2=(Double)parameters.get("String_Node_Str");
  param_Field2=((String)parameters.get("String_Node_Str"));
  param_OutScale=(Double)parameters.get("String_Node_Str");
  param_OutOffset=(Double)parameters.get("String_Node_Str");
  lowPassFilter=new LowPassFilter();
  lowPassFilter.setF((Double)parameters.get("String_Node_Str"));
  addSeries();
}
Program: 53157
Project: 53157
Buggy source:
@Override public void process(double time,Map<String,Object> update){
  double s=0.0;
  Object v1=update.get(param_Field1);
  Object v2=update.get(param_Field2);
  if (v1 != null && v1 instanceof Number && v2 != null && v2 instanceof Number) {
    double d1=((Number)v1).doubleValue();
    double d2=((Number)v2).doubleValue();
switch (param_Operator.charAt(0)) {
case '*':
      s=d1 * d2;
    break;
case '/':
  s=d1 / d2;
break;
case '+':
s=param_InScale1 * d1 + param_InScale2 * d2;
break;
case '-':
s=param_InScale1 * d1 + param_InScale2 * d2;
break;
default :
}
}
 else {
return;
}
s=lowPassFilter.getOutput(time,s);
addPoint(0,time,s * param_OutScale);
}

Fixed version (ground truth):
@Override public void process(double time,Map<String,Object> update){
  double s=0.0;
  Object v1=update.get(param_Field1);
  Object v2=update.get(param_Field2);
  if (v1 != null && v1 instanceof Number && v2 != null && v2 instanceof Number) {
    double d1=((Number)v1).doubleValue();
    double d2=((Number)v2).doubleValue();
switch (param_Operator.charAt(0)) {
case '*':
      s=param_InScale1 * d1 * param_InScale2* d2;
    break;
case '/':
  s=param_InScale1 * d1 / (param_InScale2 * d2);
break;
case '+':
s=param_InScale1 * d1 + param_InScale2 * d2;
break;
case '-':
s=param_InScale1 * d1 - param_InScale2 * d2;
break;
default :
}
}
 else {
return;
}
s=lowPassFilter.getOutput(time,s);
addPoint(0,time,(s * param_OutScale) + param_OutOffset);
}
Program: 53158
Project: 53158
Buggy source:
@Override public Map<String,Object> getDefaultParameters(){
  Map<String,Object> params=new HashMap<String,Object>();
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str",0.0);
  return params;
}

Fixed version (ground truth):
@Override public Map<String,Object> getDefaultParameters(){
  Map<String,Object> params=new HashMap<String,Object>();
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str","String_Node_Str");
  params.put("String_Node_Str",1.0);
  params.put("String_Node_Str",0.0);
  params.put("String_Node_Str",0.0);
  return params;
}
Program: 53161
Project: 53161
Buggy source:
private boolean isConfigValid(){
  if (this.exportFormat.getSelectedIndex() <= 0) {
    JOptionPane.showMessageDialog(this,"String_Node_Str","String_Node_Str",JOptionPane.ERROR_MESSAGE);
    return false;
  }
  return true;
}

Fixed version (ground truth):
private boolean isConfigValid(){
  return true;
}
Program: 53162
Project: 53162
Buggy source:
private void updateConfigurationFromDialog(){
  this.exporterConfiguration.setSplitTracksByFlightMode(this.splitTrackByFlightCheckBox.isSelected());
  if (this.exportFormat.getSelectedIndex() > 0) {
    FormatItem item=(FormatItem)this.exportFormat.getSelectedItem();
    this.exporterConfiguration.setExportFormatType(ExportFormatFactory.ExportFormatType.valueOf(item.name));
  }
  this.readerConfiguration.setSamplesPerSecond(getSamplesPerSecond());
}

Fixed version (ground truth):
private void updateConfigurationFromDialog(){
  this.exporterConfiguration.setSplitTracksByFlightMode(this.splitTrackByFlightCheckBox.isSelected());
  FormatItem item=(FormatItem)this.exportFormat.getSelectedItem();
  this.exporterConfiguration.setExportFormatType(ExportFormatFactory.ExportFormatType.valueOf(item.name));
  this.readerConfiguration.setSamplesPerSecond(getSamplesPerSecond());
}
Program: 53163
Project: 53163
Buggy source:
private void splitTrack(FlightMode newFlightMode) throws IOException {
  if (configuration.isSplitTracksByFlightMode()) {
    if (this.trackStarted) {
      this.writer.endTrackPart();
      this.writer.startTrackPart(determineStyleByFlightMode(newFlightMode));
    }
 else {
      this.writer.startTrackPart(determineStyleByFlightMode(newFlightMode));
      this.trackStarted=true;
    }
  }
 else {
    if (!this.trackStarted) {
      this.writer.startTrackPart();
      this.trackStarted=true;
    }
  }
}

Fixed version (ground truth):
private void splitTrack(FlightMode newFlightMode) throws IOException {
  if (configuration.isSplitTracksByFlightMode()) {
    if (this.trackStarted) {
      this.writer.endTrackPart();
      this.writer.startTrackPart(determineStyleByFlightMode(newFlightMode));
    }
 else {
      this.writer.startTrackPart(determineStyleByFlightMode(newFlightMode));
      this.trackStarted=true;
    }
  }
}
Program: 53164
Project: 53164
Buggy source:
public void exportToFile(File file,String title) throws IOException {
  Writer fileWriter=initWriter(file,title);
  try {
    this.writer.writeStart();
    TrackPoint point=readNextPoint();
    while (null != point) {
      this.writer.writePoint(point);
      point=readNextPoint();
    }
    this.writer.endTrackPart();
    this.writer.writeEnd();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
 finally {
    fileWriter.close();
  }
}

Fixed version (ground truth):
public void exportToFile(File file,String title) throws IOException {
  Writer fileWriter=initWriter(file,title);
  try {
    this.writer.writeStart();
    TrackPoint point=readNextPoint();
    if (!this.trackStarted) {
      this.writer.startTrackPart();
      this.trackStarted=true;
    }
    while (null != point) {
      this.writer.writePoint(point);
      point=readNextPoint();
    }
    this.writer.endTrackPart();
    this.writer.writeEnd();
  }
 catch (  Exception e) {
    e.printStackTrace();
  }
 finally {
    fileWriter.close();
  }
}
Program: 53165
Project: 53165
Buggy source:
public AddProcessorDialog(String[] processorsTypes){
  this.processorsTypes=processorsTypes;
  setContentPane(contentPane);
  setModal(true);
  getRootPane().setDefaultButton(buttonOK);
  buttonOK.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      onOK();
    }
  }
);
  buttonCancel.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      onCancel();
    }
  }
);
  setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
  addWindowListener(new WindowAdapter(){
    public void windowClosing(    WindowEvent e){
      onCancel();
    }
  }
);
  contentPane.registerKeyboardAction(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      onCancel();
    }
  }
,KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE,0),JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
}

Fixed version (ground truth):
public AddProcessorDialog(String[] processorsTypes){
  this.processorsTypes=processorsTypes;
  setContentPane(contentPane);
  setModal(true);
  setTitle("String_Node_Str");
  getRootPane().setDefaultButton(buttonOK);
  buttonOK.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      onOK();
    }
  }
);
  buttonCancel.addActionListener(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      onCancel();
    }
  }
);
  setDefaultCloseOperation(DO_NOTHING_ON_CLOSE);
  addWindowListener(new WindowAdapter(){
    public void windowClosing(    WindowEvent e){
      onCancel();
    }
  }
);
  contentPane.registerKeyboardAction(new ActionListener(){
    public void actionPerformed(    ActionEvent e){
      onCancel();
    }
  }
,KeyStroke.getKeyStroke(KeyEvent.VK_ESCAPE,0),JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
}
Program: 53166
Project: 53166
Buggy source:
private void generateSeries() throws IOException, FormatErrorException {
  dataset.removeAllSeries();
  PlotProcessor[] processors=new PlotProcessor[processorsListModel.size()];
  if (processors.length > 0) {
    for (int i=0; i < processorsListModel.size(); i++) {
      processors[i]=(PlotProcessor)processorsListModel.get(i);
      processors[i].init();
    }
    logReader.seek(0);
    Map<String,Object> data=new HashMap<String,Object>();
    while (true) {
      long t;
      data.clear();
      try {
        t=logReader.readUpdate(data);
      }
 catch (      EOFException e) {
        break;
      }
catch (      Exception e) {
        setStatus("String_Node_Str" + e);
        break;
      }
      for (      PlotProcessor processor : processors) {
        processor.process(t * 0.000001,data);
      }
    }
    for (    PlotProcessor processor : processors) {
      for (      XYSeries series : (List<XYSeries>)processor.getSeriesCollection().getSeries()) {
        dataset.addSeries(series);
      }
    }
  }
  chartPanel.repaint();
}

Fixed version (ground truth):
private void generateSeries() throws IOException, FormatErrorException {
  dataset.removeAllSeries();
  PlotProcessor[] processors=new PlotProcessor[processorsListModel.size()];
  if (processors.length > 0) {
    for (int i=0; i < processorsListModel.size(); i++) {
      processors[i]=(PlotProcessor)processorsListModel.get(i);
      processors[i].init();
    }
    logReader.seek(0);
    Map<String,Object> data=new HashMap<String,Object>();
    while (true) {
      long t;
      data.clear();
      try {
        t=logReader.readUpdate(data);
      }
 catch (      EOFException e) {
        break;
      }
      for (      PlotProcessor processor : processors) {
        processor.process(t * 0.000001,data);
      }
    }
    for (    PlotProcessor processor : processors) {
      for (      XYSeries series : (List<XYSeries>)processor.getSeriesCollection().getSeries()) {
        dataset.addSeries(series);
      }
    }
  }
  chartPanel.repaint();
}
Program: 53167
Project: 53167
Buggy source:
public ImpossibleMatchIssue(@MapsTo("String_Node_Str") final Severity severity,@MapsTo("String_Node_Str") final CheckType checkType,@MapsTo("String_Node_Str") final String ruleId,@MapsTo("String_Node_Str") final String fieldFactType,@MapsTo("String_Node_Str") final String fieldName,@MapsTo("String_Node_Str") final String conflictedItem,@MapsTo("String_Node_Str") final String conflictingItem,@MapsTo("String_Node_Str") final Integer... rowNumbers){
  super(severity,checkType,new HashSet<>(Arrays.asList(rowNumbers)));
  this.ruleId=ruleId;
  this.fieldFactType=fieldFactType;
  this.fieldName=fieldName;
  this.conflictedItem=conflictedItem;
  this.conflictingItem=conflictingItem;
}

Fixed version (ground truth):
public ImpossibleMatchIssue(@MapsTo("String_Node_Str") final Severity severity,@MapsTo("String_Node_Str") final CheckType checkType,@MapsTo("String_Node_Str") final String ruleId,@MapsTo("String_Node_Str") final String fieldFactType,@MapsTo("String_Node_Str") final String fieldName,@MapsTo("String_Node_Str") final String conflictedItem,@MapsTo("String_Node_Str") final String conflictingItem,@MapsTo("String_Node_Str") final Set<Integer> rowNumbers){
  super(severity,checkType,rowNumbers);
  this.ruleId=ruleId;
  this.fieldFactType=fieldFactType;
  this.fieldName=fieldName;
  this.conflictedItem=conflictedItem;
  this.conflictingItem=conflictingItem;
}
Program: 53168
Project: 53168
Buggy source:
public AnalyzerProvider(){
  factTypes.add(new FactTypes.FactType("String_Node_Str",new HashSet<FactTypes.Field>(){
{
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_NUMERIC_DOUBLE));
    }
  }
));
  factTypes.add(new FactTypes.FactType("String_Node_Str",new HashSet<FactTypes.Field>(){
{
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_NUMERIC_INTEGER));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_STRING));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_STRING));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_STRING));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_BOOLEAN));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_NUMERIC_INTEGER));
    }
  }
));
}

Fixed version (ground truth):
public AnalyzerProvider(){
  factTypes.add(new FactTypes.FactType("String_Node_Str",new HashSet<FactTypes.Field>(){
{
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_NUMERIC_INTEGER));
    }
  }
));
  factTypes.add(new FactTypes.FactType("String_Node_Str",new HashSet<FactTypes.Field>(){
{
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_NUMERIC_DOUBLE));
    }
  }
));
  factTypes.add(new FactTypes.FactType("String_Node_Str",new HashSet<FactTypes.Field>(){
{
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_NUMERIC_INTEGER));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_STRING));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_STRING));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_STRING));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_BOOLEAN));
      add(new FactTypes.Field("String_Node_Str",DataType.TYPE_NUMERIC_INTEGER));
    }
  }
));
}
Program: 53169
Project: 53169
Buggy source:
private String getFactType(){
  final Optional<Field> field=getField();
  if (field.isPresent()) {
    return field.get().getName();
  }
 else {
    return "String_Node_Str";
  }
}

Fixed version (ground truth):
private String getFactType(){
  final Optional<Field> field=getField();
  if (field.isPresent()) {
    return field.get().getFactType();
  }
 else {
    return "String_Node_Str";
  }
}
Program: 53170
Project: 53170
Buggy source:
private String getFieldName(){
  final Optional<Field> field=getField();
  if (field.isPresent()) {
    return field.get().getFactType();
  }
 else {
    return "String_Node_Str";
  }
}

Fixed version (ground truth):
private String getFieldName(){
  final Optional<Field> field=getField();
  if (field.isPresent()) {
    return field.get().getName();
  }
 else {
    return "String_Node_Str";
  }
}
Program: 53171
Project: 53171
Buggy source:
@Override protected Issue makeIssue(final Severity severity,final CheckType checkType){
  return new ImpossibleMatchIssue(severity,checkType,Integer.toString(ruleInspector.getRowIndex() + 1),getFactType(),getFieldName(),toHumanReadableString(conflict.getOrigin().getConflictedItem()),toHumanReadableString(conflict.getOrigin().getConflictingItem()),ruleInspector.getRowIndex() + 1);
}

Fixed version (ground truth):
@Override protected Issue makeIssue(final Severity severity,final CheckType checkType){
  return new ImpossibleMatchIssue(severity,checkType,Integer.toString(ruleInspector.getRowIndex() + 1),getFactType(),getFieldName(),toHumanReadableString(conflict.getOrigin().getConflictedItem()),toHumanReadableString(conflict.getOrigin().getConflictingItem()),Collections.singleton(ruleInspector.getRowIndex() + 1));
}
Program: 53172
Project: 53172
Buggy source:
protected RuleInspectorCache buildCache(){
  if (cache == null) {
    cache=new RuleInspectorCache(getUtils(),model,getIndex());
  }
  return cache;
}

Fixed version (ground truth):
public RuleInspectorCache buildCache(){
  if (cache == null) {
    cache=new RuleInspectorCache(getUtils(),model,getIndex());
  }
  return cache;
}
Program: 53173
Project: 53173
Buggy source:
protected UpdateManager buildUpdateManager(){
  if (updateManager == null) {
    updateManager=new UpdateManager(getIndex(),model,buildCache(),checkRunner);
  }
  return updateManager;
}

Fixed version (ground truth):
public UpdateManager buildUpdateManager(){
  if (updateManager == null) {
    updateManager=new UpdateManager(getIndex(),model,buildCache(),checkRunner);
  }
  return updateManager;
}
Program: 53174
Project: 53174
Buggy source:
protected UpdateManagerBuilder getUpdateManagerBuilder(final CheckRunner checkRunner){
  return new UpdateManagerBuilder(checkRunner);
}

Fixed version (ground truth):
public UpdateManagerBuilder getUpdateManagerBuilder(final CheckRunner checkRunner){
  return new UpdateManagerBuilder(checkRunner);
}
Program: 53175
Project: 53175
Buggy source:
protected CacheBuilder getCacheBuilder(){
  return new CacheBuilder();
}

Fixed version (ground truth):
public CacheBuilder getCacheBuilder(){
  return new CacheBuilder();
}
Program: 53176
Project: 53176
Buggy source:
public CellUpdateManager(final Coordinate coordinate){
  column=index.columns.where(Column.index().is(coordinate.getCol())).select().first();
  select=index.rules.where(Rule.index().is(coordinate.getRow())).select().patterns().where(UUIDMatcher.uuid().any()).select().fields().where(UUIDMatcher.uuid().any()).select();
  values=getValue(model.getData().get(coordinate.getRow()).get(coordinate.getCol()));
}

Fixed version (ground truth):
public CellUpdateManager(final Coordinate coordinate){
  column=index.columns.where(Column.index().is(coordinate.getCol())).select().first();
  final Rule rule=index.rules.where(Rule.index().is(coordinate.getRow())).select().first();
  actions=rule.getActions();
  conditions=rule.getConditions();
  values=getValue(model.getData().get(coordinate.getRow()).get(coordinate.getCol()));
}
Program: 53177
Project: 53177
Buggy source:
@Override public void check(){
  hasIssues=false;
  if (isEmptyRow()) {
    return;
  }
  if (ruleInspector.atLeastOneConditionHasAValue()) {
    if (thereIsAtLeastOneRow()) {
      hasIssues=isDeficient();
    }
  }
}

Fixed version (ground truth):
@Override public void check(){
  hasIssues=false;
  if (ruleInspector.isEmpty()) {
    return;
  }
  if (ruleInspector.atLeastOneConditionHasAValue()) {
    if (thereIsAtLeastOneRow()) {
      hasIssues=isDeficient();
    }
  }
}
Program: 53178
Project: 53178
Buggy source:
public DetectDeficientRowsCheck(final RuleInspector ruleInspector){
  super(ruleInspector,new RuleInspectorCache.Filter(){
    @Override public boolean accept(    final RuleInspector other){
      return !ruleInspector.getRule().getUuidKey().equals(other.getRule().getUuidKey());
    }
  }
);
}

Fixed version (ground truth):
public DetectDeficientRowsCheck(final RuleInspector ruleInspector){
  super(ruleInspector,new RuleInspectorCache.Filter(){
    @Override public boolean accept(    final RuleInspector other){
      return !ruleInspector.getRule().getUuidKey().equals(other.getRule().getUuidKey()) && !other.isEmpty();
    }
  }
);
}
Program: 53179
Project: 53179
Buggy source:
@Override public boolean accept(final RuleInspector other){
  return !ruleInspector.getRule().getUuidKey().equals(other.getRule().getUuidKey());
}

Fixed version (ground truth):
@Override public boolean accept(final RuleInspector other){
  return !ruleInspector.getRule().getUuidKey().equals(other.getRule().getUuidKey()) && !other.isEmpty();
}
Program: 53180
Project: 53180
Buggy source:
public void build(){
  if (actionCol instanceof BRLActionColumn) {
    addBRLAction((BRLActionColumn)actionCol);
  }
 else {
    final int columnIndex=model.getExpandedColumns().indexOf(actionCol);
    if (rowHasIndex(columnIndex,row)) {
      addAction(actionCol,row.get(columnIndex));
    }
  }
}

Fixed version (ground truth):
public void build(){
  if (actionCol instanceof BRLActionColumn) {
    addBRLAction((BRLActionColumn)actionCol);
  }
 else   if (actionCol instanceof ActionRetractFactCol52) {
    addRetractAction((ActionRetractFactCol52)actionCol);
  }
 else {
    final int columnIndex=model.getExpandedColumns().indexOf(actionCol);
    if (rowHasIndex(columnIndex,row)) {
      addAction(actionCol,row.get(columnIndex));
    }
  }
}
Program: 53181
Project: 53181
Buggy source:
public boolean parseArgs(String[] args){
  Options options=new Options();
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  CommandLine commandLine;
  HelpFormatter formatter=new HelpFormatter();
  try {
    commandLine=new BasicParser().parse(options,args);
  }
 catch (  ParseException e) {
    formatter.printHelp(formatstr,options);
    return false;
  }
  if (commandLine.hasOption("String_Node_Str")) {
    formatter.printHelp(formatstr,options);
    return false;
  }
  return (parseArgInputTempDir(commandLine) && parseArgOutputVfsRepository(commandLine));
}

Fixed version (ground truth):
public boolean parseArgs(String[] args){
  Options options=new Options();
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",true,"String_Node_Str");
  options.addOption("String_Node_Str","String_Node_Str",false,"String_Node_Str");
  CommandLine commandLine;
  HelpFormatter formatter=new HelpFormatter();
  try {
    commandLine=new BasicParser().parse(options,args);
  }
 catch (  ParseException e) {
    formatter.printHelp(FORMAT_STR,options);
    return false;
  }
  if (commandLine.hasOption("String_Node_Str")) {
    formatter.printHelp(FORMAT_STR,options);
    return false;
  }
  return (parseArgInputTempDir(commandLine) && parseArgOutputVfsRepository(commandLine));
}