From b07e6a9e6598f8bb53072b43b6891a6c9c8fbd72 Mon Sep 17 00:00:00 2001 From: burdziak Date: Wed, 7 Aug 2019 12:50:26 +0200 Subject: Fix sonar issues in WizardSequenceSQLBasedHive Change-Id: I16463a87dffbf1044b63eafacde410eac04db783 Issue-ID: PORTAL-523 Signed-off-by: burdziak --- .../portalsdk/analytics/controller/WizardSequenceSQLBasedHive.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedHive.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedHive.java index 1e3943f9..ff605287 100644 --- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedHive.java +++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedHive.java @@ -51,10 +51,8 @@ public class WizardSequenceSQLBasedHive extends WizardSequence { add(AppConstants.WS_JAVASCRIPT); 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); } // WizardSequenceSQLBasedHive -- cgit 1.2.3-korg