Assertion message fixed.

This commit is contained in:
Óscar González Fernández 2009-06-11 16:51:48 +02:00 committed by Javier Moran Rua
parent dd65be8857
commit 608323d4b0

View file

@ -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();