From e78c56397e0be13bf6e355c85fce8b55bde9244f Mon Sep 17 00:00:00 2001 From: burdziak Date: Wed, 7 Aug 2019 13:06:33 +0200 Subject: Fix sonar issues in WizardSequenceSQLBasedLinearDatamining Change-Id: Ic2e572f2740d89ab6c981351f94b9e20dcdb2106 Issue-ID: PORTAL-523 Signed-off-by: burdziak --- .../controller/WizardSequenceSQLBasedLinearDatamining.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ecomp-sdk/epsdk-analytics') diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinearDatamining.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinearDatamining.java index e2001505..3a303c9a 100644 --- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinearDatamining.java +++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinearDatamining.java @@ -52,10 +52,10 @@ public class WizardSequenceSQLBasedLinearDatamining extends WizardSequence { add(AppConstants.WS_JAVASCRIPT); add(AppConstants.WS_CHART); add(AppConstants.WS_USER_ACCESS); - //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