Skip to content

Declare interfaces as @FunctionalInterface where feasible #25580

@sbrannen

Description

@sbrannen

As a follow up to #25571, in my opinion, the following are the remaining potential candidates for being annotated with @FunctionalInterface, especially the first two.

  • org.springframework.context.ApplicationContextInitializer
  • org.springframework.test.web.servlet.DispatcherServletCustomizer
  • org.springframework.validation.MessageCodeFormatter
  • org.springframework.util.IdGenerator
  • org.springframework.beans.factory.config.YamlProcessor.MatchCallback
  • org.springframework.beans.factory.config.YamlProcessor.DocumentMatcher

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions