From c0b8bd2503b08f157f853683dbc993dc12603d09 Mon Sep 17 00:00:00 2001 From: Francis Toth Date: Sun, 19 Apr 2020 19:50:10 -0400 Subject: Remove props from ValidationConfigManager Signed-off-by: Francis Toth Change-Id: I1c3a845c44722010e8933876e59752cef00937f0 Issue-ID: SDC-2499 --- .../validator/config/ValidationConfigManager.java | 31 +--------------------- 1 file changed, 1 insertion(+), 30 deletions(-) (limited to 'asdctool/src/main') diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java index 6db0a56da6..ea0bbf33a9 100644 --- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java +++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManager.java @@ -8,7 +8,7 @@ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 * * @@ -24,22 +24,8 @@ package org.openecomp.sdc.asdctool.impl.validator.config; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -import java.io.FileInputStream; -import java.io.IOException; -import java.io.InputStream; -import java.util.Properties; - -/** - * Created by chaya on 7/4/2017. - */ public class ValidationConfigManager { - private static Logger log = LoggerFactory.getLogger(ValidationConfigManager.class); - - private static Properties prop = new Properties(); private static String outputFullFilePath; private static String outputFilePath; @@ -69,19 +55,4 @@ public class ValidationConfigManager { } private static String csvReportFilePath = "summary.csv"; - - public static Properties setValidationConfiguration(String path) { - InputStream input; - try { - input = new FileInputStream(path); - prop.load(input); - } catch (IOException ex) { - log.info("FileInputStream failed", ex); - } - return prop; - } - - public static Properties getValidationConfiguration() { - return prop; - } } -- cgit 1.2.3-korg