Program: 118985
Project: 118985
Buggy source:
@Override public void applyChange(CommonCSSStyleSetting setting){
  if (cssStyleSetting.getTimeStamp().compareTo(customizedCSSStyleSetting.getTimeStamp()) == 0) {
    return;
  }
  customizedCSSStyleSetting.setTimeStamp(cssStyleSetting.getTimeStamp());
  customizedCSSStyleSetting.setColorIncrement(cssStyleSetting.getColorIncrement());
  customizedCSSStyleSetting.setXOffset(cssStyleSetting.getxOffset());
  int increment=getIncrement();
  customizedCSSStyleSetting.setTitleBorder(getTitleBorder());
  customizedCSSStyleSetting.setScrollPaneBorder(cssStyleSetting.getScrollPaneBorder());
  customizedCSSStyleSetting.setScrollPaneListBorder(cssStyleSetting.getScrollPaneListBorder());
  customizedCSSStyleSetting.setBaseColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getDrawerFigureBaseColor(),increment));
  customizedCSSStyleSetting.setTitleMarginBorder(cssStyleSetting.getTitleMarginBorder());
  customizedCSSStyleSetting.setCollapseTopBorderForgroundLineColor1(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapseTopBorderForgroundLineColor1(),increment));
  customizedCSSStyleSetting.setCollapseTopBorderForgroundLineColor2(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapseTopBorderForgroundLineColor2(),increment));
  customizedCSSStyleSetting.setCollapseExpandedLineForgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapseExpandedLineForgroundColor(),increment));
  customizedCSSStyleSetting.setCollapseNotExpandedLineForgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapseNotExpandedLineForgroundColor(),increment));
  customizedCSSStyleSetting.setExpandedBackgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getExpandedBackgroundColor(),increment));
  customizedCSSStyleSetting.setMouseOverForgroundColor1(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverForgroundColor1(),increment));
  customizedCSSStyleSetting.setMouseOverForgroundColor2(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverForgroundColor2(),increment));
  customizedCSSStyleSetting.setMouseOverForgroundColor3(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverForgroundColor3(),increment));
  customizedCSSStyleSetting.setMouseOverBackgroundColor1(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverBackgroundColor1(),increment));
  customizedCSSStyleSetting.setMouseOverBackgroundColor2(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverBackgroundColor2(),increment));
  customizedCSSStyleSetting.setMouseOverBackgroundColor3(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverBackgroundColor3(),increment));
  customizedCSSStyleSetting.setCollapsedForgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapsedForgroundColor(),increment));
  customizedCSSStyleSetting.setCollapsedBackgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapsedBackgroundColor(),increment));
  if (scrollpane != null) {
    Color backgroundColor=TalendPaletteCSSStyleSetting.getSubColor(customizedCSSStyleSetting.getBaseColor(),increment);
    scrollpane.getContents().setBackgroundColor(backgroundColor);
  }
}

Fixed version (ground truth):
public void applyChange(CommonCSSStyleSetting setting){
  if (cssStyleSetting.getTimeStamp().compareTo(customizedCSSStyleSetting.getTimeStamp()) == 0) {
    return;
  }
  customizedCSSStyleSetting.setTimeStamp(cssStyleSetting.getTimeStamp());
  customizedCSSStyleSetting.setColorIncrement(cssStyleSetting.getColorIncrement());
  customizedCSSStyleSetting.setXOffset(cssStyleSetting.getxOffset());
  int increment=getIncrement();
  customizedCSSStyleSetting.setTitleBorder(getTitleBorder());
  customizedCSSStyleSetting.setScrollPaneBorder(cssStyleSetting.getScrollPaneBorder());
  customizedCSSStyleSetting.setScrollPaneListBorder(cssStyleSetting.getScrollPaneListBorder());
  customizedCSSStyleSetting.setBaseColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getDrawerFigureBaseColor(),increment));
  customizedCSSStyleSetting.setTitleMarginBorder(cssStyleSetting.getTitleMarginBorder());
  customizedCSSStyleSetting.setCollapseTopBorderForgroundLineColor1(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapseTopBorderForgroundLineColor1(),increment));
  customizedCSSStyleSetting.setCollapseTopBorderForgroundLineColor2(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapseTopBorderForgroundLineColor2(),increment));
  customizedCSSStyleSetting.setCollapseExpandedLineForgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapseExpandedLineForgroundColor(),increment));
  customizedCSSStyleSetting.setCollapseNotExpandedLineForgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapseNotExpandedLineForgroundColor(),increment));
  customizedCSSStyleSetting.setExpandedBackgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getExpandedBackgroundColor(),increment));
  customizedCSSStyleSetting.setMouseOverForgroundColor1(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverForgroundColor1(),increment));
  customizedCSSStyleSetting.setMouseOverForgroundColor2(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverForgroundColor2(),increment));
  customizedCSSStyleSetting.setMouseOverForgroundColor3(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverForgroundColor3(),increment));
  customizedCSSStyleSetting.setMouseOverBackgroundColor1(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverBackgroundColor1(),increment));
  customizedCSSStyleSetting.setMouseOverBackgroundColor2(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverBackgroundColor2(),increment));
  customizedCSSStyleSetting.setMouseOverBackgroundColor3(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getMouseOverBackgroundColor3(),increment));
  customizedCSSStyleSetting.setCollapsedForgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapsedForgroundColor(),increment));
  customizedCSSStyleSetting.setCollapsedBackgroundColor(TalendPaletteCSSStyleSetting.getSubColor(cssStyleSetting.getCollapsedBackgroundColor(),increment));
  if (scrollpane != null) {
    Color backgroundColor=TalendPaletteCSSStyleSetting.getSubColor(customizedCSSStyleSetting.getBaseColor(),increment);
    scrollpane.getContents().setBackgroundColor(backgroundColor);
  }
}