diff options
author | burdziak <olaf.burdziakowski@nokia.com> | 2019-08-07 12:50:26 +0200 |
---|---|---|
committer | Manoop Talasila <talasila@research.att.com> | 2019-08-13 18:27:17 +0000 |
commit | f6f32632489157f6f26c127a99492349cc8ddd33 (patch) | |
tree | a412858aaea76b539097f6c1d1f0add65e2e343d | |
parent | ce9038f479180dabcda0f1dbbc34f0368e01ea58 (diff) |
Fix sonar issues in WizardSequenceSQLBasedHive
Change-Id: I16463a87dffbf1044b63eafacde410eac04db783
Issue-ID: PORTAL-523
Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
(cherry picked from commit b07e6a9e6598f8bb53072b43b6891a6c9c8fbd72)
-rw-r--r-- | ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedHive.java | 6 |
1 files 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 |