summaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src/main
diff options
context:
space:
mode:
authorThugutla Sailakshmi <tsaila10@in.ibm.com>2019-08-07 14:34:23 +0530
committerIttay Stern <ittay.stern@att.com>2019-08-12 08:08:49 +0000
commit1271b538622ae7e8b9c156d12684a270d6b13930 (patch)
tree1f941a3c66c8f218d1f913bd7e6ceb9c11902ab3 /epsdk-app-onap/src/main
parent25c073d46559a2a06e939e0b26bbb27d14a4ea2c (diff)
return this expression instead of assigning it to the temporary variable
Issue-ID: VID-561 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'epsdk-app-onap/src/main')
-rw-r--r--epsdk-app-onap/src/main/java/org/onap/portalapp/scheduler/RegistryAdapter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/epsdk-app-onap/src/main/java/org/onap/portalapp/scheduler/RegistryAdapter.java b/epsdk-app-onap/src/main/java/org/onap/portalapp/scheduler/RegistryAdapter.java
index 9f8f7279a..02fbfa96d 100644
--- a/epsdk-app-onap/src/main/java/org/onap/portalapp/scheduler/RegistryAdapter.java
+++ b/epsdk-app-onap/src/main/java/org/onap/portalapp/scheduler/RegistryAdapter.java
@@ -3,6 +3,7 @@
* ONAP Portal SDK
* ===================================================================
* Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+ * Modifications Copyright (C) 2019 IBM.
* ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
@@ -74,8 +75,7 @@ public class RegistryAdapter {
public List<Trigger> addCoreTriggers() {
// On startup of the application after crash recovery, invoke workflow
// schedule trigger
- List<Trigger> triggers = getWorkflowScheduleService().triggerWorkflowScheduling();
- return triggers;
+ return getWorkflowScheduleService().triggerWorkflowScheduling();
}
public void setSchedulerBean(final SchedulerFactoryBean schedulerBean) {