From: Thugutla Sailakshmi Date: Wed, 7 Aug 2019 09:04:23 +0000 (+0530) Subject: return this expression instead of assigning it to the temporary variable X-Git-Tag: 5.0.1~53^2 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=1271b538622ae7e8b9c156d12684a270d6b13930;p=vid.git return this expression instead of assigning it to the temporary variable Issue-ID: VID-561 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: Thugutla Sailakshmi --- 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 addCoreTriggers() { // On startup of the application after crash recovery, invoke workflow // schedule trigger - List triggers = getWorkflowScheduleService().triggerWorkflowScheduling(); - return triggers; + return getWorkflowScheduleService().triggerWorkflowScheduling(); } public void setSchedulerBean(final SchedulerFactoryBean schedulerBean) {