ItEr49S10CUVisualizacionResponsabilidadesTRaballoNaPlanificacionItEr48S10: Ensuring getHours doesn't return null

This commit is contained in:
Óscar González Fernández 2010-02-28 17:00:25 +01:00
parent 7211530308
commit 3fe819dafa

View file

@ -78,7 +78,7 @@ public class CalendarException extends BaseEntity {
}
public Integer getHours() {
return hours;
return hours != null ? hours : 0;
}
public CalendarExceptionType getType() {