Program: 116913
Project: 116913
Buggy source:
public void update(Room room){
  roomTitleView.setText(room.getName());
  if (room.isBookable(QUICK_BOOK_THRESHOLD)) {
    roomStatusView.setText("String_Node_Str");
    if (room.isFreeRestOfDay()) {
      roomStatusInfoView.setText("String_Node_Str");
      this.setBackgroundColor(getResources().getColor(R.color.TrafficLightFree));
      bookNowView.setBackground(getResources().getDrawable(R.drawable.traffic_lights_button_green));
      bookNowView.setTextColor(getResources().getColorStateList(R.color.traffic_lights_button_green));
    }
 else {
      int freeMinutes=room.minutesFreeFromNow();
      roomStatusView.setText("String_Node_Str");
      roomStatusInfoView.setText("String_Node_Str" + Helpers.humanizeTimeSpan2(freeMinutes));
      if (freeMinutes >= Room.RESERVED_THRESHOLD_MINUTES) {
        this.setBackgroundColor(getResources().getColor(R.color.TrafficLightFree));
        bookNowView.setBackground(getResources().getDrawable(R.drawable.traffic_lights_button_green));
        bookNowView.setTextColor(getResources().getColorStateList(R.color.traffic_lights_button_green));
      }
 else {
        this.setBackgroundColor(getResources().getColor(R.color.TrafficLightYellow));
        bookNowView.setBackground(getResources().getDrawable(R.drawable.traffic_lights_button_yellow));
        bookNowView.setTextColor(getResources().getColorStateList(R.color.traffic_lights_button_yellow));
      }
    }
    reservationInfoView.setVisibility(GONE);
    roomStatusInfoView.setVisibility(VISIBLE);
    bookNowView.setVisibility(VISIBLE);
  }
 else {
    this.setBackgroundColor(getResources().getColor(R.color.TrafficLightReserved));
    roomStatusView.setText("String_Node_Str");
    bookNowView.setVisibility(GONE);
    setReservationInfo(room.getCurrentReservation(),room.getNextFreeSlot());
  }
}

Fixed version (ground truth):
public void update(Room room){
  roomTitleView.setText(room.getName());
  if (room.isBookable(QUICK_BOOK_THRESHOLD)) {
    roomStatusView.setText("String_Node_Str");
    if (room.isFreeRestOfDay()) {
      roomStatusInfoView.setText("String_Node_Str");
      this.setBackgroundColor(getResources().getColor(R.color.TrafficLightFree));
      bookNowView.setBackgroundDrawable(getResources().getDrawable(R.drawable.traffic_lights_button_green));
      bookNowView.setTextColor(getResources().getColorStateList(R.color.traffic_lights_button_green));
    }
 else {
      int freeMinutes=room.minutesFreeFromNow();
      roomStatusView.setText("String_Node_Str");
      roomStatusInfoView.setText("String_Node_Str" + Helpers.humanizeTimeSpan2(freeMinutes));
      if (freeMinutes >= Room.RESERVED_THRESHOLD_MINUTES) {
        this.setBackgroundColor(getResources().getColor(R.color.TrafficLightFree));
        bookNowView.setBackgroundDrawable(getResources().getDrawable(R.drawable.traffic_lights_button_green));
        bookNowView.setTextColor(getResources().getColorStateList(R.color.traffic_lights_button_green));
      }
 else {
        this.setBackgroundColor(getResources().getColor(R.color.TrafficLightYellow));
        bookNowView.setBackgroundDrawable(getResources().getDrawable(R.drawable.traffic_lights_button_yellow));
        bookNowView.setTextColor(getResources().getColorStateList(R.color.traffic_lights_button_yellow));
      }
    }
    reservationInfoView.setVisibility(GONE);
    roomStatusInfoView.setVisibility(VISIBLE);
    bookNowView.setVisibility(VISIBLE);
  }
 else {
    this.setBackgroundColor(getResources().getColor(R.color.TrafficLightReserved));
    roomStatusView.setText("String_Node_Str");
    bookNowView.setVisibility(GONE);
    setReservationInfo(room.getCurrentReservation(),room.getNextFreeSlot());
  }
}