MergedAnnotationCollectors.toAnnotationSet() should not create intermediate ArrayList #26031
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: backported
An issue that has been backported to maintenance branches
type: enhancement
A general enhancement
Milestone
MergedAnnotationCollectors.toAnnotationSet()
currently creates an intermediateArrayList
for storing the results prior to creating aLinkedHashSet
in the finishing step. The creation of the intermediate list is unnecessary and can be avoided.The text was updated successfully, but these errors were encountered: