From d9c03ddf72a7acd9fdc192f3cc1d687cf08bfe93 Mon Sep 17 00:00:00 2001 From: burdziak Date: Wed, 7 Aug 2019 08:52:19 +0200 Subject: Fix sonar issues in WizardSequenceLinear Change-Id: I93f464f52138138317d384291a48e1fbf4ce22ac Issue-ID: PORTAL-523 Signed-off-by: burdziak (cherry picked from commit 989aed670b09019e87cda6861c3905118a7b3db4) --- .../onap/portalsdk/analytics/controller/WizardSequenceLinear.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceLinear.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceLinear.java index 387cdef3..73f84f78 100644 --- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceLinear.java +++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceLinear.java @@ -50,13 +50,11 @@ public class WizardSequenceLinear extends WizardSequence { add(AppConstants.WS_FORM_FIELDS); add(AppConstants.WS_FILTERS); add(AppConstants.WS_SORTING); - //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); } // WizardSequenceLinear -- cgit 1.2.3-korg