Skip to content

Commit c17f204

Browse files
committed
Merge branch '5.2.x'
2 parents d646e60 + 91d1383 commit c17f204

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-core/src/main/java/org/springframework/core/annotation/TypeMappedAnnotations.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2019 the original author or authors.
2+
* Copyright 2002-2020 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -211,7 +211,7 @@ public Iterator<MergedAnnotation<Annotation>> iterator() {
211211
@Override
212212
public Spliterator<MergedAnnotation<Annotation>> spliterator() {
213213
if (this.annotationFilter == AnnotationFilter.ALL) {
214-
return Collections.<MergedAnnotation<Annotation>> emptyList().spliterator();
214+
return Spliterators.emptySpliterator();
215215
}
216216
return spliterator(null);
217217
}

0 commit comments

Comments
 (0)