Buggy code:
@ ViewScoped @ ManagedBean ( name = "planningController" ) public class PlanningController implements Serializable { private static final long serialVersionUID = 3334120004119771842L ; private static Logger LOGGER = LogManager . getLogger ( PlanningController . class ) ; public static final int CALENDAR_YEAR = 1970 ; public static final int CALENDAR_MONTH = Calendar . JANUARY ; public static final int CALENDAR_DAY = 5 ; private DataAccess dataAccess = DataAccess . getInstance ( ) ; private ActivityParser activityParser = ActivityParser . getInstance ( ) ; private Teacher teacher ; private PedagogicAssistant pedagogicAssistant ; private Schoolclass schoolclass ; private AcademicYear academicYear ; private Location location ; private Room room ; private Activity activity ; private String searchTerm ; private ScheduleModel scheduleModel ; @ PostConstruct public void init ( ) { } public int getSlotMinutes ( ) { } public Date getInitalDate ( ) { } public void onEventSelect ( SelectEvent selectEvent ) { } public List < Teacher > getTeachersForSearchTerm ( ) { } public List < PedagogicAssistant > getPedagogicAssistantsForSearchTerm ( ) { } public List < Schoolclass > getSchoolclassesForAcademicYear ( ) { } public List < Room > getRoomsForLocation ( ) { } public Boolean getHasChosen ( ) { } public Boolean getExistTeachers ( ) { } public Boolean getExistSchoolclasses ( ) { } public Boolean getExistPedagogicAssistants ( ) { } public Boolean getExistRooms ( ) { } public void setTeacherActivityModel ( ) { } public void setPedagogicAssistantActivityModel ( ) { } public void setSchoolclassActivityModel ( ) { } public void setRoomActivityModel ( ) { } private void unsetAllExcept ( Entity entity ) { } public String getActivityDescriptionName ( ) { } public String getActivityDescriptionName ( Activity activity ) { } public String getActivityDescriptionStartTime ( ) { <START_BUG> return getActivityDescriptionEndTime ( activity ) ; <END_BUG> } public String getActivityDescriptionStartTime ( Activity activity ) { } public String getActivityDescriptionEndTime ( ) { } public String getActivityDescriptionEndTime ( Activity activity ) { } public String getActivityDescriptionTime ( Date date , Activity activity ) { } public List < String > getCompoundLessonDescriptionNames ( ) { } public List < String > getCompoundLessonDescriptionNames ( Activity activity ) { } public Boolean getIsCurrentActivityCompoundLesson ( ) { } public Teacher getTeacher ( ) { } public void setTeacher ( Teacher teacher ) { } public String getSearchTerm ( ) { } public void setSearchTerm ( String searchTerm ) { } public Schoolclass getSchoolclass ( ) { } public void setSchoolclass ( Schoolclass schoolclass ) { } public AcademicYear getAcademicYear ( ) { } public void setAcademicYear ( AcademicYear academicYear ) { } public ScheduleModel getScheduleModel ( ) { } public void setScheduleModel ( ScheduleModel scheduleModel ) { } public PedagogicAssistant getPedagogicAssistant ( ) { } public void setPedagogicAssistant ( PedagogicAssistant pedagogicAssistant ) { } public Location getLocation ( ) { } public void setLocation ( Location location ) { } public Room getRoom ( ) { } public void setRoom ( Room room ) { } public Activity getActivity ( ) { } public void setActivity ( Activity activity ) { } }

Fix:
return getActivityDescriptionStartTime ( activity ) ;