From b0fc60ea2f2eeaf02e065f48ddbac1699545fc23 Mon Sep 17 00:00:00 2001 From: Sumapriya Sarvepalli Date: Wed, 31 Jan 2018 12:34:53 +0530 Subject: Sonar:Major The diamond operator (<>) should be used OrchestrationRequests.java:L163 Sonar Link: https://sonar.onap.org/issues/search#resolved=false|severities=MAJOR|rules=squid%3AS2293|assignees=__me__ Location:OrchestrationRequests.java:L163 Change-Id: I2b3241d46d72b9ad52f2009dc7746cf4a3f456ea Issue-ID: SO-397 Signed-off-by: Sumapriya Sarvepalli --- .../java/org/openecomp/mso/apihandlerinfra/OrchestrationRequests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/OrchestrationRequests.java b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/OrchestrationRequests.java index 2f32e80dc1..d60915bf43 100644 --- a/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/OrchestrationRequests.java +++ b/mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/OrchestrationRequests.java @@ -160,7 +160,7 @@ public class OrchestrationRequests { orchestrationList = new GetOrchestrationListResponse(); - List requestLists = new ArrayList(); + List requestLists = new ArrayList<>(); for (InfraActiveRequests infraActive : activeRequests) { -- cgit 1.2.3-korg