ItEr18S04ArquitecturaServidorItEr17S04: Fixing getId method so if the id is null, a NullPointerException is not
thrown
This commit is contained in:
parent
72aa2b07d0
commit
9506bf3103
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ public abstract class OrderElement {
|
|||
|
||||
public abstract List<HoursGroup> getHoursGroups();
|
||||
|
||||
public long getId() {
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue