refactor: fix FieldMayBeFinal warnings across modules - #1435
Open
akenra wants to merge 1 commit into
Open
Conversation
- Mark fields as final where applicable (FieldMayBeFinal inspection) - Remove unnecessary wrappedFunctionDefinitionsCacheSize field in SimpleFunctionRegistry; constructor parameter captured by anonymous class - Make wrappedFunctionDefinitionsCacheSize configurable via property spring.cloud.function.registry.cache-size (default 1000) - Rename private static final fields to UPPER_CASE convention (BREEDS, NAMES, RESULTS, WEBFLUX, ERROR_ATTRIBUTES, HEADERS) Signed-off-by: akenra <37288280+akenra@users.noreply.github.com>
akenra
force-pushed
the
refactor/final-fields
branch
from
July 30, 2026 10:29
eb93fa3 to
8fca5e1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi @olegz!
I wanted to give the project a bit more love and hopefully help revive the somewhat stalled maintenance pace, starting with simple cosmetic changes.
Specifically, I went through the IntelliJ FieldMayBeFinal inspection warnings and fixed them across the codebase. Most changes are straightforward final additions, though a few required a bit more care:
Let me know if anything needs adjustments!