*Utils.find### to return Optional [SPR-17484] #22016
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: declined
A suggestion or change that we don't feel we should currently apply
type: enhancement
A general enhancement
László Stahorszki opened SPR-17484 and commented
With the release of Optional in Java 8, I think it would be appropriate for methods, like AnnotationUtils.findAnnotation() to return Optional<T>, so that we don't need additional checking parts if an annotation in this instance exists or not
Issue Links:
The text was updated successfully, but these errors were encountered: