add missing commons-codec library

This commit is contained in:
Michael Hoennig 2024-06-28 09:38:21 +02:00
parent e2233a2338
commit 7bc02013ce
2 changed files with 2 additions and 2 deletions

View File

@ -66,6 +66,7 @@ dependencies {
implementation 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.17.0'
implementation 'org.openapitools:jackson-databind-nullable:0.2.6'
implementation 'org.apache.commons:commons-text:1.11.0'
implementation 'commons-codec:commons-codec:1.17.0'
implementation 'org.modelmapper:modelmapper:3.2.0'
implementation 'org.iban4j:iban4j:3.2.7-RELEASE'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.4.0'

View File

@ -95,8 +95,7 @@ public abstract class HsEntityValidator<E extends PropertiesProvider> {
// FIXME: maybe move to ValidatableProperty.postProcess(...)?
if ( p.isWriteOnly()) {
copy.remove(p.propertyName);
}
if (p.isComputed()) {
} else if (p.isComputed()) {
copy.put(p.propertyName, p.compute(entity));
}
});