summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-analytics
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-08-07 08:52:19 +0200
committerburdziak <olaf.burdziakowski@nokia.com>2019-08-07 08:52:19 +0200
commit989aed670b09019e87cda6861c3905118a7b3db4 (patch)
treef43fae8709167391ee6aa9e3d400a47bee92b0c6 /ecomp-sdk/epsdk-analytics
parent8b1abe6b2267047d26e0e6cee1c8c086dae95663 (diff)
Fix sonar issues in WizardSequenceLinear
Change-Id: I93f464f52138138317d384291a48e1fbf4ce22ac Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Diffstat (limited to 'ecomp-sdk/epsdk-analytics')
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceLinear.java8
1 files 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