diff options
author | Sumapriya Sarvepalli <SS00493505@TechMahindra.com> | 2018-01-31 12:34:53 +0530 |
---|---|---|
committer | Sumapriya Sarvepalli <SS00493505@TechMahindra.com> | 2018-01-31 12:35:05 +0530 |
commit | b0fc60ea2f2eeaf02e065f48ddbac1699545fc23 (patch) | |
tree | 5d0ede3b9fb89dedb67decb864efc16bdd2e763b | |
parent | dbf76d90eb8157cb84f58f4f8297513f885a4d73 (diff) |
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 <SS00493505@TechMahindra.com>
-rw-r--r-- | mso-api-handlers/mso-api-handler-infra/src/main/java/org/openecomp/mso/apihandlerinfra/OrchestrationRequests.java | 2 |
1 files changed, 1 insertions, 1 deletions
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<RequestList> requestLists = new ArrayList<RequestList>(); + List<RequestList> requestLists = new ArrayList<>(); for (InfraActiveRequests infraActive : activeRequests) { |