summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-08-07 12:57:55 +0200
committerburdziak <olaf.burdziakowski@nokia.com>2019-08-07 12:57:55 +0200
commit0631000e3830b59ac9b4cba4cae107e5fb66d545 (patch)
tree9150d559a3adc2e262bf2b19007761ae9fa1ea6d
parent8b1abe6b2267047d26e0e6cee1c8c086dae95663 (diff)
Fix sonar issues in WizardSequenceSQLBasedLinear
Change-Id: Ieba2d5f272780400f9bf773548e2f8504bb40b1a Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java10
1 files changed, 3 insertions, 7 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java
index c6cb0b1c..349f4466 100644
--- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java
+++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedLinear.java
@@ -48,15 +48,11 @@ public class WizardSequenceSQLBasedLinear extends WizardSequence {
add(AppConstants.WS_SQL);
add(AppConstants.WS_COLUMNS);
add(AppConstants.WS_FORM_FIELDS);
- //add(AppConstants.WS_JAVASCRIPT);
- //if(!Globals.showAnimatedChartOnly())
- //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);
} // WizardSequenceSQLBasedLinear