ItEr49S10CUVisualizacionResponsabilidadesTRaballoNaPlanificacionItEr48S10: Ensuring getHours doesn't return null
This commit is contained in:
parent
7211530308
commit
3fe819dafa
1 changed files with 1 additions and 1 deletions
|
|
@ -78,7 +78,7 @@ public class CalendarException extends BaseEntity {
|
|||
}
|
||||
|
||||
public Integer getHours() {
|
||||
return hours;
|
||||
return hours != null ? hours : 0;
|
||||
}
|
||||
|
||||
public CalendarExceptionType getType() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue