HHH-6133 new added list was not put into map in GlobalAnnotations

This commit is contained in:
Strong Liu 2011-05-13 12:54:33 +08:00
parent 48d93c88bc
commit 4e0f6a1578
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ class GlobalAnnotations implements JPADotNames {
List<AnnotationInstance> list = annotationInstanceMap.get( name );
if ( list == null ) {
list = new ArrayList<AnnotationInstance>();
annotationInstanceMap.put( name,list );
}
list.add( annotationInstance );
return annotationInstance;