S3553 should not report an issue for spring mvc optional parameters

Description

Spring Framework documentation notes that for non mandatory parameters Optional can be used:
https://docs.spring.io/spring-framework/docs/5.3.14/reference/html/web.html#mvc-ann-requestparam

We should therefore not report an issue in this case.

Note: we should probably consider implementing a "Spring" filter, instead of adding complexity in the rule implementation.

Activity

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Priority

Sentry

Created February 2, 2022 at 1:15 PM
Updated October 16, 2024 at 2:07 PM
Resolved November 22, 2023 at 8:46 AM