Make resourceAnnotationTypes field final in CommonAnnotationBPP
Closes gh-24774
This commit is contained in:
parent
0f50a9a60a
commit
c42a0eeb38
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2002-2019 the original author or authors.
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
|
@ -151,7 +151,7 @@ public class CommonAnnotationBeanPostProcessor extends InitDestroyAnnotationBean
|
|||
@Nullable
|
||||
private static Class<? extends Annotation> ejbRefClass;
|
||||
|
||||
private static Set<Class<? extends Annotation>> resourceAnnotationTypes = new LinkedHashSet<>(4);
|
||||
private final static Set<Class<? extends Annotation>> resourceAnnotationTypes = new LinkedHashSet<>(4);
|
||||
|
||||
static {
|
||||
try {
|
||||
|
|
|
|||
Loading…
Reference in New Issue