From 4e0f6a15780a4515320292137395f5b40fab6275 Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Fri, 13 May 2011 12:54:33 +0800 Subject: [PATCH] HHH-6133 new added list was not put into map in GlobalAnnotations --- .../source/annotations/xml/mocker/GlobalAnnotations.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/GlobalAnnotations.java b/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/GlobalAnnotations.java index d971af7881..d354931e4c 100644 --- a/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/GlobalAnnotations.java +++ b/hibernate-core/src/main/java/org/hibernate/metamodel/source/annotations/xml/mocker/GlobalAnnotations.java @@ -67,6 +67,7 @@ class GlobalAnnotations implements JPADotNames { List list = annotationInstanceMap.get( name ); if ( list == null ) { list = new ArrayList(); + annotationInstanceMap.put( name,list ); } list.add( annotationInstance ); return annotationInstance;