Skip to content

Conversation

@pparlett
Copy link
Contributor

@pparlett pparlett commented Oct 7, 2025

Address SonarQube Warnings in confirmation-statement-api

ASM-776

Type of change

  • Bug fix
  • New feature
  • Breaking change

Pull request checklist

  • I have added unit tests for new code that I have added
  • I have added/updated functional tests where appropriate
  • The code follows our coding standards

An exhaustive list of peer review checks can be read here

@pparlett pparlett requested a review from Copilot October 7, 2025 15:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR addresses SonarQube warnings in the confirmation-statement-api project by improving code quality through refactoring and clean-up changes.

  • Replaced deprecated APIs with modern equivalents
  • Converted field injection to constructor injection for better testability
  • Removed unused imports and variables to reduce code clutter

Reviewed Changes

Copilot reviewed 37 out of 37 changed files in this pull request and generated no comments.

Show a summary per file
File Description
Test files Reorganized imports, removed unused exceptions, refactored variable names, and eliminated duplicated test logic
Service classes Converted from field injection to constructor injection pattern
Interceptor classes Added @SuppressWarnings annotations and converted to constructor injection
Controller classes Converted to constructor injection and added missing path variables
Configuration classes Removed redundant qualifiers and converted to constructor injection
Mapper classes Updated to use modern Java stream API methods

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@chsonarqubeprchecks
Copy link

feature/asm-776-address-sonarqube-warnings
@chsonarqubeprchecks
Copy link

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