Skip to content

Core Spring interfaces declared with Java 8 default methods and @FunctionalInterface markers [SPR-14432] #19003

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-14432 and commented

We have many multi-method interfaces in the core framework codebase, a few of which are obvious candidates for Java 8 default methods. We should also consistently mark user-level single-method interfaces as @FunctionalInterface. As a special consideration, even a multi-method interface can be a @FunctionalInterface if only one method is not declared as default..


Issue Links:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions