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 --- .../onap/policy/models/errors/concepts/ErrorResponseUtils.java | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'models-errors/src') diff --git a/models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java b/models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java index eb5212eb0..749651310 100644 --- a/models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java +++ b/models-errors/src/main/java/org/onap/policy/models/errors/concepts/ErrorResponseUtils.java @@ -23,19 +23,16 @@ package org.onap.policy.models.errors.concepts; import java.util.ArrayList; import java.util.List; +import lombok.AccessLevel; +import lombok.NoArgsConstructor; /** * Utility class for managing {@link ErrorResponse objects}. * * @author Liam Fallon (liam.fallon@est.tech) */ +@NoArgsConstructor(access = AccessLevel.PRIVATE) public final class ErrorResponseUtils { - /** - * Private constructor used to prevent sub class instantiation. - */ - private ErrorResponseUtils() { - // Default constructor - } /** * Store the cascaded messages from an exception and all its nested exceptions in an ErrorResponse object. -- cgit 1.2.3-korg