Program: 35563
Project: 35563
Buggy source:
/** 
 * Builds the reminders grid columns configuration.
 * @return The reminders grid columns list.
 */
private static List<ColumnConfig> createRemindersGridColumns(){
  final DateTimeFormat format=DateUtils.DATE_SHORT;
  final Date now=new Date();
  final ColumnConfig iconColumn=new ColumnConfig();
  iconColumn.setId("String_Node_Str");
  iconColumn.setHeaderHtml("String_Node_Str");
  iconColumn.setWidth(16);
  iconColumn.setResizable(false);
  iconColumn.setRenderer(new GridCellRenderer<ReminderDTO>(){
    @Override public Object render(    final ReminderDTO model,    final String property,    final ColumnData config,    final int rowIndex,    final int colIndex,    final ListStore<ReminderDTO> store,    final Grid<ReminderDTO> grid){
      if (DateUtils.DAY_COMPARATOR.compare(now,model.getExpectedDate()) > 0) {
        return IconImageBundle.ICONS.overdueReminder().createImage();
      }
 else {
        return IconImageBundle.ICONS.openedReminder().createImage();
      }
    }
  }
);
  final ColumnConfig labelColumn=new ColumnConfig();
  labelColumn.setId(ReminderDTO.LABEL);
  labelColumn.setHeaderHtml(I18N.CONSTANTS.monitoredPointLabel());
  labelColumn.setWidth(100);
  final ColumnConfig expectedDateColumn=new ColumnConfig();
  expectedDateColumn.setId(ReminderDTO.EXPECTED_DATE);
  expectedDateColumn.setHeaderHtml(I18N.CONSTANTS.monitoredPointExpectedDate());
  expectedDateColumn.setWidth(60);
  expectedDateColumn.setDateTimeFormat(format);
  expectedDateColumn.setRenderer(new GridCellRenderer<ReminderDTO>(){
    @Override public Object render(    final ReminderDTO model,    final String property,    final ColumnData config,    final int rowIndex,    final int colIndex,    final ListStore<ReminderDTO> store,    final Grid<ReminderDTO> grid){
      final Label label=new Label(format.format(model.getExpectedDate()));
      if (!model.isCompleted() && DateUtils.DAY_COMPARATOR.compare(now,model.getExpectedDate()) > 0) {
        label.addStyleName(EXPECTED_DATE_LABEL_STYLE);
      }
      return label;
    }
  }
);
  return Arrays.asList(new ColumnConfig[]{iconColumn,labelColumn,expectedDateColumn});
}

Fixed version (ground truth):
/** 
 * Builds the reminders grid columns configuration.
 * @return The reminders grid columns list.
 */
private static List<ColumnConfig> createRemindersGridColumns(){
  final DateTimeFormat format=DateUtils.DATE_SHORT;
  final Date now=new Date();
  final ColumnConfig iconColumn=new ColumnConfig();
  iconColumn.setId("String_Node_Str");
  iconColumn.setHeaderHtml("String_Node_Str");
  iconColumn.setWidth(16);
  iconColumn.setResizable(false);
  iconColumn.setRenderer(new GridCellRenderer<ReminderDTO>(){
    @Override public Object render(    final ReminderDTO model,    final String property,    final ColumnData config,    final int rowIndex,    final int colIndex,    final ListStore<ReminderDTO> store,    final Grid<ReminderDTO> grid){
      if (DateUtils.DAY_COMPARATOR.compare(now,model.getExpectedDate()) > 0) {
        return IconImageBundle.ICONS.overdueReminder().createImage();
      }
 else {
        return IconImageBundle.ICONS.openedReminder().createImage();
      }
    }
  }
);
  final ColumnConfig labelColumn=new ColumnConfig();
  labelColumn.setId(ReminderDTO.LABEL);
  labelColumn.setHeaderHtml(I18N.CONSTANTS.monitoredPointLabel());
  labelColumn.setWidth(100);
  final ColumnConfig projectCodeColumn=new ColumnConfig();
  projectCodeColumn.setId(ReminderDTO.PROJECT_CODE);
  projectCodeColumn.setHeaderHtml(I18N.CONSTANTS.project());
  projectCodeColumn.setWidth(100);
  final ColumnConfig projectNameColumn=new ColumnConfig();
  projectNameColumn.setId(ReminderDTO.PROJECT_NAME);
  projectNameColumn.setHeaderHtml(I18N.CONSTANTS.projectName());
  projectNameColumn.setWidth(100);
  projectNameColumn.setRenderer(new GridCellRenderer<ReminderDTO>(){
    @Override public Object render(    final ReminderDTO model,    String property,    ColumnData config,    int rowIndex,    int colIndex,    ListStore<ReminderDTO> store,    Grid<ReminderDTO> grid){
      final com.google.gwt.user.client.ui.Label label=new com.google.gwt.user.client.ui.Label((String)model.get(property));
      label.addStyleName("String_Node_Str");
      label.addClickHandler(new ClickHandler(){
        @Override public void onClick(        ClickEvent event){
          handler.onLabelClickEvent(model.getProjectId());
        }
      }
);
      return label;
    }
  }
);
  final ColumnConfig expectedDateColumn=new ColumnConfig();
  expectedDateColumn.setId(ReminderDTO.EXPECTED_DATE);
  expectedDateColumn.setHeaderHtml(I18N.CONSTANTS.monitoredPointExpectedDate());
  expectedDateColumn.setWidth(60);
  expectedDateColumn.setDateTimeFormat(format);
  expectedDateColumn.setRenderer(new GridCellRenderer<ReminderDTO>(){
    @Override public Object render(    final ReminderDTO model,    final String property,    final ColumnData config,    final int rowIndex,    final int colIndex,    final ListStore<ReminderDTO> store,    final Grid<ReminderDTO> grid){
      final Label label=new Label(format.format(model.getExpectedDate()));
      if (!model.isCompleted() && DateUtils.DAY_COMPARATOR.compare(now,model.getExpectedDate()) > 0) {
        label.addStyleName(EXPECTED_DATE_LABEL_STYLE);
      }
      return label;
    }
  }
);
  return Arrays.asList(new ColumnConfig[]{iconColumn,labelColumn,projectNameColumn,projectCodeColumn,expectedDateColumn});
}