177178179180181182183184185186187
if (StringUtils.isBlank(updateCommand.getId())) { updateCommand.setId(id); } LOG.debug("Called to update command with id " + id + " " + updateCommand.toString()); final Command command = this.em.merge(updateCommand); command.validate(); return command; } /** * {@inheritDoc}