Merge branch '3.3.x'

Closes gh-42917
This commit is contained in:
Stéphane Nicoll
2024-10-29 13:39:31 +09:00
2 changed files with 2 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ class QualifierDefinition {
}
static QualifierDefinition forElement(AnnotatedElement element) {
if (element != null && element instanceof Field field) {
if (element instanceof Field field) {
Set<Annotation> annotations = getQualifierAnnotations(field);
if (!annotations.isEmpty()) {
return new QualifierDefinition(field, annotations);