Avoid NPE if editedValue is null
FEA: ItEr74S04BugFixing
This commit is contained in:
parent
5c8fbebde0
commit
d7e7634028
1 changed files with 2 additions and 1 deletions
|
|
@ -436,7 +436,8 @@ public abstract class AllocationRow {
|
|||
public abstract boolean isGeneric();
|
||||
|
||||
public boolean isEmptyResourcesPerDay() {
|
||||
return getResourcesPerDayEditedValue().isZero();
|
||||
return getResourcesPerDayEditedValue() == null
|
||||
|| getResourcesPerDayEditedValue().isZero();
|
||||
}
|
||||
|
||||
public abstract List<Resource> getAssociatedResources();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue