From 1271b538622ae7e8b9c156d12684a270d6b13930 Mon Sep 17 00:00:00 2001 From: Thugutla Sailakshmi Date: Wed, 7 Aug 2019 14:34:23 +0530 Subject: return this expression instead of assigning it to the temporary variable Issue-ID: VID-561 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: Thugutla Sailakshmi --- .../src/main/java/org/onap/portalapp/scheduler/RegistryAdapter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epsdk-app-onap/src/main/java/org/onap/portalapp/scheduler') 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) { -- cgit 1.2.3-korg