Skip to content

API compatibility with lambda expressions [SPR-9640] #14274

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-9640 and commented

http://openjdk.java.net/jeps/126

Consider marking all applicable Spring callback interfaces with Java 8's @FunctionalInterface. Even if that marker basically just works as a compiler assertion along the lines of @Override, it might still be worth using it consistently as a formal documentation measure. Applicable Spring interfaces can then by found by that marker and will be documented as such in javadoc.


This issue is a sub-task of #14273

0 votes, 6 watchers

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions