From 0631000e3830b59ac9b4cba4cae107e5fb66d545 Mon Sep 17 00:00:00 2001 From: burdziak Date: Wed, 7 Aug 2019 12:57:55 +0200 Subject: Fix sonar issues in WizardSequenceSQLBasedLinear Change-Id: Ieba2d5f272780400f9bf773548e2f8504bb40b1a Issue-ID: PORTAL-523 Signed-off-by: burdziak --- .../analytics/controller/WizardSequenceSQLBasedLinear.java | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'ecomp-sdk/epsdk-analytics/src/main') diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java index c6cb0b1c..349f4466 100644 --- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java +++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java @@ -48,15 +48,11 @@ public class WizardSequenceSQLBasedLinear extends WizardSequence { add(AppConstants.WS_SQL); add(AppConstants.WS_COLUMNS); add(AppConstants.WS_FORM_FIELDS); - //add(AppConstants.WS_JAVASCRIPT); - //if(!Globals.showAnimatedChartOnly()) - //add(AppConstants.WS_CHART); add(AppConstants.WS_USER_ACCESS); - //add(AppConstants.WS_MAP); - //add(AppConstants.WS_SCHEDULE); - if (userIsAuthorizedToSeeLog) - if (Globals.getEnableReportLog()) + + if (userIsAuthorizedToSeeLog && Globals.getEnableReportLog()) add(AppConstants.WS_REPORT_LOG); + add(AppConstants.WS_RUN); } // WizardSequenceSQLBasedLinear -- cgit 1.2.3-korg