fixed compilation

This commit is contained in:
anhefti 2019-09-02 13:36:13 +02:00
parent 91ae7d9d0d
commit 8c4d5c50f8

View file

@ -199,7 +199,9 @@ public class ConfigurationValueDAOImpl implements ConfigurationValueDAO {
createNew(data);
return getByProperties(data)
.orElseThrow();
.orElseThrow(() -> new ResourceNotFoundException(
EntityType.CONFIGURATION_VALUE,
String.valueOf(data.attributeId)));
});
} else {