summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk
diff options
context:
space:
mode:
authorburdziak <olaf.burdziakowski@nokia.com>2019-08-07 12:42:50 +0200
committerburdziak <olaf.burdziakowski@nokia.com>2019-08-07 12:42:50 +0200
commitbee7f21e8144fc5c517285804e6b2d82564204a2 (patch)
treea97579714aa16ee5e8df96a4e31ffd5046bfda3a /ecomp-sdk
parent8b1abe6b2267047d26e0e6cee1c8c086dae95663 (diff)
Fix sonar issues in WizardSequenceSQLBasedCrossTab
Change-Id: I9324d5b1af06bf3677cfc412d4825d75a48a7529 Issue-ID: PORTAL-523 Signed-off-by: burdziak <olaf.burdziakowski@nokia.com>
Diffstat (limited to 'ecomp-sdk')
-rw-r--r--ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java
index 76f14c8a..3ee861e0 100644
--- a/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java
+++ b/ecomp-sdk/epsdk-analytics/src/main/java/org/onap/portalsdk/analytics/controller/WizardSequenceSQLBasedCrossTab.java
@@ -50,9 +50,8 @@ public class WizardSequenceSQLBasedCrossTab extends WizardSequence {
add(AppConstants.WS_FORM_FIELDS);
add(AppConstants.WS_JAVASCRIPT);
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);
} // WizardSequenceSQLBasedCrossTab