summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-analytics/src/main
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-08-07 12:50:26 +0200
committerburdziak <olaf.burdziakowski@nokia.com>2019-08-07 12:50:26 +0200
commitb07e6a9e6598f8bb53072b43b6891a6c9c8fbd72 (patch)
tree65e31387c4aa2a49e37663bcdec85c9efaf7f23a /ecomp-sdk/epsdk-analytics/src/main
parent8b1abe6b2267047d26e0e6cee1c8c086dae95663 (diff)
Fix sonar issues in WizardSequenceSQLBasedHive
Change-Id: I16463a87dffbf1044b63eafacde410eac04db783 Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Diffstat (limited to 'ecomp-sdk/epsdk-analytics/src/main')
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedHive.java6
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