From 87c95be02a8a4d77e165dede90777e811b59dcae Mon Sep 17 00:00:00 2001 From: Ravindra Bakkamanthala Date: Tue, 23 May 2017 14:56:12 -0400 Subject: Commit includes ControlLoopPolicy API and bugfixes Change-Id: I3e18bb8b4c31a0d908bb0cff4c85e2a3fb450a63 Signed-off-by: Ravindra Bakkamanthala --- ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java') diff --git a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java index 184b4f80b..6badfa9a9 100644 --- a/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java +++ b/ECOMP-REST/src/main/java/org/openecomp/policy/rest/jpa/Attribute.java @@ -99,7 +99,7 @@ public class Attribute implements Serializable { //bi-directional many-to-one association to ConstraintValue @OneToMany(mappedBy="attribute", orphanRemoval=true, cascade=CascadeType.REMOVE) @JsonIgnore - private Set constraintValues = new HashSet(); + private Set constraintValues = new HashSet<>(); //bi-directional many-to-one association to Category @ManyToOne @@ -259,7 +259,7 @@ public class Attribute implements Serializable { public ConstraintValue addConstraintValue(ConstraintValue constraintValue) { if (this.constraintValues == null) { - this.constraintValues = new HashSet(); + this.constraintValues = new HashSet<>(); } this.constraintValues.add(constraintValue); constraintValue.setAttribute(this); -- cgit 1.2.3-korg