From f88db39da197e936bda9ac7cc12f3c18fb4dc35e Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Fri, 27 Jan 2017 15:37:02 +0000 Subject: [PATCH] HHH-10981 : Fix due to backport --- .../org/hibernate/bytecode/enhance/internal/EntityEnhancer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/EntityEnhancer.java b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/EntityEnhancer.java index 8d015f2a80..4e1aa98fd3 100644 --- a/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/EntityEnhancer.java +++ b/hibernate-core/src/main/java/org/hibernate/bytecode/enhance/internal/EntityEnhancer.java @@ -209,7 +209,7 @@ public class EntityEnhancer extends PersistentAttributesEnhancer { } private List collectCollectionFields(CtClass managedCtClass) { - List collectionList = new ArrayList<>(); + List collectionList = new ArrayList(); for ( CtField ctField : managedCtClass.getDeclaredFields() ) { // skip static fields and skip fields added by enhancement