Program: 185176
Project: 185176
Buggy source:
@Override public void reset(PlotConfiguration settings,boolean hard){
  super.reset(settings,hard);
switch (settings.getAxisOrientationSetting()) {
case X_AXIS_AS_TIME:
    behaviorTimeAxisLetter.setText("String_Node_Str");
  behaviorNonTimeAxisLetter.setText("String_Node_Str");
break;
case Y_AXIS_AS_TIME:
behaviorTimeAxisLetter.setText("String_Node_Str");
behaviorNonTimeAxisLetter.setText("String_Node_Str");
break;
}
if (hard) {
switch (settings.getTimeAxisSubsequentSetting()) {
case JUMP:
timeJumpMode.setSelected(true);
break;
case SCRUNCH:
timeScrunchMode.setSelected(true);
break;
}
switch (settings.getNonTimeAxisSubsequentMinSetting()) {
case AUTO:
nonTimeMinAutoAdjustMode.setSelected(true);
nonTimeMinSemiFixedMode.setSelected(false);
nonTimeMinSemiFixedMode.setEnabled(false);
break;
case FIXED:
nonTimeMinFixedMode.setSelected(true);
nonTimeMinSemiFixedMode.setSelected(false);
nonTimeMinSemiFixedMode.setEnabled(true);
break;
case SEMI_FIXED:
nonTimeMinFixedMode.setSelected(true);
nonTimeMinSemiFixedMode.setSelected(true);
nonTimeMinSemiFixedMode.setEnabled(true);
break;
}
switch (settings.getNonTimeAxisSubsequentMaxSetting()) {
case AUTO:
nonTimeMaxAutoAdjustMode.setSelected(true);
nonTimeMaxSemiFixedMode.setSelected(false);
nonTimeMaxSemiFixedMode.setEnabled(false);
break;
case FIXED:
nonTimeMaxFixedMode.setSelected(true);
nonTimeMaxSemiFixedMode.setSelected(false);
nonTimeMaxSemiFixedMode.setEnabled(true);
break;
case SEMI_FIXED:
nonTimeMaxFixedMode.setSelected(true);
nonTimeMaxSemiFixedMode.setSelected(true);
nonTimeMaxSemiFixedMode.setEnabled(true);
break;
}
timeJumpPadding.setText(String.valueOf((int)(settings.getTimePadding() * 100)));
timeScrunchPadding.setText(String.valueOf((int)(settings.getTimePadding() * 100)));
nonTimeMinPadding.setText(String.valueOf((int)(settings.getNonTimeMinPadding() * 100)));
nonTimeMaxPadding.setText(String.valueOf((int)(settings.getNonTimeMaxPadding() * 100)));
cacheState();
}
}

Fixed version (ground truth):
@Override public void reset(PlotConfiguration settings,boolean hard){
  super.reset(settings,hard);
switch (settings.getAxisOrientationSetting()) {
case X_AXIS_AS_TIME:
    behaviorTimeAxisLetter.setText("String_Node_Str");
  behaviorNonTimeAxisLetter.setText("String_Node_Str");
break;
case Y_AXIS_AS_TIME:
behaviorTimeAxisLetter.setText("String_Node_Str");
behaviorNonTimeAxisLetter.setText("String_Node_Str");
break;
case Z_AXIS_AS_TIME:
behaviorTimeAxisLetter.setText("String_Node_Str");
behaviorNonTimeAxisLetter.setText("String_Node_Str");
}
if (hard) {
switch (settings.getTimeAxisSubsequentSetting()) {
case JUMP:
timeJumpMode.setSelected(true);
break;
case SCRUNCH:
timeScrunchMode.setSelected(true);
break;
}
switch (settings.getNonTimeAxisSubsequentMinSetting()) {
case AUTO:
nonTimeMinAutoAdjustMode.setSelected(true);
nonTimeMinSemiFixedMode.setSelected(false);
nonTimeMinSemiFixedMode.setEnabled(false);
break;
case FIXED:
nonTimeMinFixedMode.setSelected(true);
nonTimeMinSemiFixedMode.setSelected(false);
nonTimeMinSemiFixedMode.setEnabled(true);
break;
case SEMI_FIXED:
nonTimeMinFixedMode.setSelected(true);
nonTimeMinSemiFixedMode.setSelected(true);
nonTimeMinSemiFixedMode.setEnabled(true);
break;
}
switch (settings.getNonTimeAxisSubsequentMaxSetting()) {
case AUTO:
nonTimeMaxAutoAdjustMode.setSelected(true);
nonTimeMaxSemiFixedMode.setSelected(false);
nonTimeMaxSemiFixedMode.setEnabled(false);
break;
case FIXED:
nonTimeMaxFixedMode.setSelected(true);
nonTimeMaxSemiFixedMode.setSelected(false);
nonTimeMaxSemiFixedMode.setEnabled(true);
break;
case SEMI_FIXED:
nonTimeMaxFixedMode.setSelected(true);
nonTimeMaxSemiFixedMode.setSelected(true);
nonTimeMaxSemiFixedMode.setEnabled(true);
break;
}
timeJumpPadding.setText(String.valueOf((int)(settings.getTimePadding() * 100)));
timeScrunchPadding.setText(String.valueOf((int)(settings.getTimePadding() * 100)));
nonTimeMinPadding.setText(String.valueOf((int)(settings.getNonTimeMinPadding() * 100)));
nonTimeMaxPadding.setText(String.valueOf((int)(settings.getNonTimeMaxPadding() * 100)));
cacheState();
}
}