From 9f968a38098acba611ab7e7ad2065658c3086a95 Mon Sep 17 00:00:00 2001 From: anhefti Date: Tue, 31 Jan 2023 10:07:51 +0100 Subject: [PATCH] SEBSERV-329 convert allowMacOSVersionNumber as integer --- .../sebconfig/impl/converter/IntegerConverter.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/sebconfig/impl/converter/IntegerConverter.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/sebconfig/impl/converter/IntegerConverter.java index 0101ea8f..a3b161b7 100644 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/sebconfig/impl/converter/IntegerConverter.java +++ b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/sebconfig/impl/converter/IntegerConverter.java @@ -34,7 +34,10 @@ public class IntegerConverter implements AttributeValueConverter { public static final Set SUPPORTED_ATTR_NAMES = Utils.immutableSetOf( "taskBarHeight", - "allowedDisplaysMaxNumber"); + "allowedDisplaysMaxNumber", + "allowMacOSVersionNumberMajor", + "allowMacOSVersionNumberMinor", + "allowMacOSVersionNumberPatch"); public static final Set SUPPORTED_TYPES = Utils.immutableSetOf( AttributeType.INTEGER,