diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-08-12 08:26:29 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-12 08:26:29 +0000 |
commit | 2cdc93337249b83615858c18191731e4d1f5f0e2 (patch) | |
tree | 2618b63d66686066948d2ba02cbdbed4d4055c20 /epsdk-app-onap | |
parent | 473004576a53390a6eb57329012a724e7146383d (diff) | |
parent | 1271b538622ae7e8b9c156d12684a270d6b13930 (diff) |
Merge "return this expression instead of assigning it to the temporary variable"
Diffstat (limited to 'epsdk-app-onap')
-rw-r--r-- | epsdk-app-onap/src/main/java/org/onap/portalapp/scheduler/RegistryAdapter.java | 4 |
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) { |