From c008807d6100660ed3219a29225bff4dc517727b Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Wed, 28 Feb 2018 14:06:05 +0100 Subject: remove workaround for unofficial release --- .../moa/id/configuration/config/ConfigurationProvider.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'id/ConfigWebTool/src/main/java') diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java index 1ca5bcc2c..cfb39b15c 100644 --- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java +++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/config/ConfigurationProvider.java @@ -139,12 +139,12 @@ public class ConfigurationProvider { props.load(fis); fis.close(); - //Workaround -> can be removed in next version - if (MiscUtil.isEmpty(System.getProperty("spring.profiles.active"))) { - log.info("Set System-Property to activate 'byteBased' config values"); - System.setProperty("spring.profiles.active", "byteBasedConfig"); - - } +// //Workaround -> can be removed in next version +// if (MiscUtil.isEmpty(System.getProperty("spring.profiles.active"))) { +// log.info("Set System-Property to activate 'byteBased' config values"); +// System.setProperty("spring.profiles.active", "byteBasedConfig"); +// +// } //initialize generic SpringContext to set profiles GenericApplicationContext rootContext = new GenericApplicationContext(); -- cgit v1.2.3