From 936d5c4aa6afdbacfc28016ad530e411a27e75d5 Mon Sep 17 00:00:00 2001 From: "Sindhuri.A" Date: Sat, 20 Apr 2019 17:01:16 +0530 Subject: Replace type specification,Remove unused import Replace type specification,Remove unused import sniro beans Issue-ID: SO-1490 Change-Id: Ic7d96ccc79db3cee839cc230dd69121ab6796e88 Signed-off-by: Sindhuri.A --- .../main/java/org/onap/so/client/sniro/beans/SniroConductorRequest.java | 2 +- .../src/main/java/org/onap/so/client/sniro/beans/SubscriberInfo.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'bpmn/so-bpmn-tasks') diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/beans/SniroConductorRequest.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/beans/SniroConductorRequest.java index f632424c26..b8896a2bab 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/beans/SniroConductorRequest.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/beans/SniroConductorRequest.java @@ -40,7 +40,7 @@ public class SniroConductorRequest implements Serializable { private static final Logger logger = LoggerFactory.getLogger(SniroConductorRequest.class); @JsonProperty("release-locks") - private List resources = new ArrayList(); + private List resources = new ArrayList<>(); public List getResources() { diff --git a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/beans/SubscriberInfo.java b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/beans/SubscriberInfo.java index eaf8b6e379..35a4cac459 100644 --- a/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/beans/SubscriberInfo.java +++ b/bpmn/so-bpmn-tasks/src/main/java/org/onap/so/client/sniro/beans/SubscriberInfo.java @@ -22,7 +22,6 @@ package org.onap.so.client.sniro.beans; import java.io.Serializable; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonRawValue; import com.fasterxml.jackson.annotation.JsonRootName; @JsonRootName("subscriberInfo") -- cgit 1.2.3-korg