From: Ittay Stern Date: Mon, 12 Aug 2019 08:26:29 +0000 (+0000) Subject: Merge "return this expression instead of assigning it to the temporary variable" X-Git-Tag: 5.0.1~53 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=2cdc93337249b83615858c18191731e4d1f5f0e2;hp=473004576a53390a6eb57329012a724e7146383d;p=vid.git Merge "return this expression instead of assigning it to the temporary variable" --- 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) {