From bee7f21e8144fc5c517285804e6b2d82564204a2 Mon Sep 17 00:00:00 2001 From: burdziak Date: Wed, 7 Aug 2019 12:42:50 +0200 Subject: Fix sonar issues in WizardSequenceSQLBasedCrossTab Change-Id: I9324d5b1af06bf3677cfc412d4825d75a48a7529 Issue-ID: PORTAL-523 Signed-off-by: burdziak --- .../analytics/controller/WizardSequenceSQLBasedCrossTab.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ecomp-sdk/epsdk-analytics') diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java index 76f14c8a..3ee861e0 100644 --- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java +++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java @@ -50,9 +50,8 @@ public class WizardSequenceSQLBasedCrossTab extends WizardSequence { add(AppConstants.WS_FORM_FIELDS); add(AppConstants.WS_JAVASCRIPT); 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); } // WizardSequenceSQLBasedCrossTab -- cgit 1.2.3-korg