From bf430888dbb1c514d10e5cc3fd25496712a86730 Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Thu, 17 Jun 2021 16:29:33 -0400 Subject: Use lombok for errors pap, pdp, sim-dmaap, sim-pdp Issue-ID: POLICY-3396 Change-Id: Ib2c9bc5dc199e15ae9ca077031c0f2cfbc5b6a81 Signed-off-by: Jim Hahn --- .../models/pap/concepts/PdpGroupDeployResponse.java | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'models-pap/src/main/java') diff --git a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java index 6d94d7110..43485cc2e 100644 --- a/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java +++ b/models-pap/src/main/java/org/onap/policy/models/pap/concepts/PdpGroupDeployResponse.java @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * ONAP Policy Models * ================================================================================ - * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved. + * Copyright (C) 2019, 2021 AT&T Intellectual Property. All rights reserved. * Modifications Copyright (C) 2021 Bell Canada. All rights reserved. * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); @@ -21,6 +21,7 @@ package org.onap.policy.models.pap.concepts; +import lombok.AllArgsConstructor; import lombok.Getter; import lombok.NoArgsConstructor; import lombok.Setter; @@ -33,6 +34,7 @@ import lombok.ToString; @Setter @ToString(callSuper = true) @NoArgsConstructor +@AllArgsConstructor public class PdpGroupDeployResponse extends SimpleResponse { /** @@ -44,15 +46,4 @@ public class PdpGroupDeployResponse extends SimpleResponse { * URI to fetch the deployment status. */ private String uri; - - /** - * Constructs the object. - * - * @param message the message - * @param uri the uri to get actual deployment status - */ - public PdpGroupDeployResponse(String message, String uri) { - this.message = message; - this.uri = uri; - } } -- cgit 1.2.3-korg