Assertion message fixed.
This commit is contained in:
parent
dd65be8857
commit
608323d4b0
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ public class WorkerModel implements IWorkerModel {
|
|||
@Override
|
||||
@Transactional(readOnly = true)
|
||||
public void prepareEditFor(Worker worker) {
|
||||
Validate.notNull(worker, "worker is not null");
|
||||
Validate.notNull(worker, "worker must be not null");
|
||||
try {
|
||||
this.worker = (Worker) resourceService.findResource(worker.getId());
|
||||
this.worker.forceLoadSatisfactions();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue