Merge branch 'master' into develop
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2024-11-27 15:19:00 +01:00

View File

@@ -18,7 +18,12 @@ public enum TipoValore implements IBaseEnum<TipoValore> {
}
public static TipoValore from(Object value) {
short castValue = (short) value;
short castValue;
if (value instanceof String) {
castValue = Short.parseShort(value.toString());
} else {
castValue = (short) value;
}
for (TipoValore b : TipoValore.values()) {
if (b.value == castValue)