AI REVIEWED
Module: spring-boot-starter
File: spring/actuator/DataFixerEndpoint.java (~line 244-245)
Severity: Low
Problem / Motivation
Returning null from a @ReadOperation with @Selector to trigger HTTP 404 is Spring Boot convention but relies on implicit behavior. Not immediately obvious to developers unfamiliar with this pattern.
Proposed Solution
Add a comment explaining the convention:
// Returning null from @ReadOperation with @Selector produces HTTP 404 (Spring Boot convention)
return null;
Or document in class-level Javadoc.