From db7db4d6f06b6f875ec96aac27b86911a1c70a9b Mon Sep 17 00:00:00 2001 From: Jim Hahn Date: Sat, 16 Mar 2019 09:50:59 -0400 Subject: Add equals() to Policy class Change-Id: I7cc9baa21654e3d416a6ca1143f365ca295bf1d6 Issue-ID: POLICY-1542 Signed-off-by: Jim Hahn --- pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java b/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java index 7f12a48f..b756386b 100644 --- a/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java +++ b/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java @@ -20,6 +20,7 @@ package org.onap.policy.pdp.common.models; +import lombok.EqualsAndHashCode; import lombok.Getter; import lombok.Setter; import lombok.ToString; @@ -32,6 +33,7 @@ import lombok.ToString; @Getter @Setter @ToString +@EqualsAndHashCode public class Policy { private String name; -- cgit 1.2.3-korg