summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-08-07 12:57:55 +0200
committerManoop Talasila <talasila@research.att.com>2019-08-13 18:27:40 +0000
commit5f147d81ed41a3932afc642cb3787fc572df43bf (patch)
tree53af947d1db9ee8e9534b8836de2ab2ff8857254
parentf6f32632489157f6f26c127a99492349cc8ddd33 (diff)
Fix sonar issues in WizardSequenceSQLBasedLinear
Change-Id: Ieba2d5f272780400f9bf773548e2f8504bb40b1a Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com> (cherry picked from commit 0631000e3830b59ac9b4cba4cae107e5fb66d545)
-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