From 840eecbf7210d0433d94da895a3a11b97d3a4e6f Mon Sep 17 00:00:00 2001 From: "Rishi.Chail" Date: Mon, 15 Mar 2021 14:36:23 +0000 Subject: Fix code smells 1. removed typedefs annotation 2. chnaged final string constant name Issue-ID: CPS-89 Signed-off-by: Rishi.Chail Change-Id: I524aa8c13e8bb4c6a00d810c6e89b30a48f37d10 --- cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cps-ri/src/main/java/org') diff --git a/cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java b/cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java index 53ceaaae1f..74f75d1de2 100755 --- a/cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/entities/FragmentEntity.java @@ -45,7 +45,6 @@ import lombok.NoArgsConstructor; import lombok.Setter; import org.hibernate.annotations.Type; import org.hibernate.annotations.TypeDef; -import org.hibernate.annotations.TypeDefs; /** * Entity to store a fragment. @@ -58,7 +57,7 @@ import org.hibernate.annotations.TypeDefs; @Builder @Entity @Table(name = "fragment") -@TypeDefs({@TypeDef(name = "jsonb", typeClass = JsonBinaryType.class)}) +@TypeDef(name = "jsonb", typeClass = JsonBinaryType.class) public class FragmentEntity implements Serializable { private static final long serialVersionUID = 7737669789097119667L; -- cgit 1.2.3-korg