Skip to content

SPRNGCORE-18: Handle Jackson changes and address SonarQube reported concerns.#122

Merged
kaladay merged 1 commit into
mainfrom
SPRNGCORE-18-follow_up_fixes_2026_06_09
Jun 9, 2026
Merged

SPRNGCORE-18: Handle Jackson changes and address SonarQube reported concerns.#122
kaladay merged 1 commit into
mainfrom
SPRNGCORE-18-follow_up_fixes_2026_06_09

Conversation

@kaladay

@kaladay kaladay commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Further resolves SPRNGCORE-18, addressing things overlooked in previous upgrade effortss.

Explicitly define Jackson 2 behavior:

  • The MapperFeature.DEFAULT_VIEW_INCLUSION is true by default in Jackson 2 but not in Jackson 3.

Remove unecessary code snippets:

  • The @RequestHeader has unnecessary value = "" annotations.
  • The ResponseEntity<> does not need arguments specified in the return lines.

Replace overlooked deprecated @Nullable use:

  • Switch to org.jspecify.annotations.Nullable.

Avoid using @Autowired on variable declarations and instead provide an initializer function.

…oncerns.

Explicitly define Jackson 2 behavior:
  - The `MapperFeature.DEFAULT_VIEW_INCLUSION` is `true` by default in **Jackson 2** but not in **Jackson 3**.

Remove unecessary code snippets:
  - The `@RequestHeader` has unnecessary `value = ""` annotations.
  - The `ResponseEntity<>` does not need arguments specified in the `return` lines.

Replace overlooked deprecated `@Nullable` use:
  - Switch to `org.jspecify.annotations.Nullable`.

Avoid using `@Autowired` on variable declarations and instead provide an initializer function.
@kaladay kaladay requested a review from a team June 9, 2026 19:08
@sonarqubecloud

sonarqubecloud Bot commented Jun 9, 2026

Copy link
Copy Markdown

@kaladay kaladay merged commit 3836c18 into main Jun 9, 2026
16 checks passed
@kaladay kaladay deleted the SPRNGCORE-18-follow_up_fixes_2026_06_09 branch June 9, 2026 21:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants