Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc. code cleanup #697

Merged
merged 1 commit into from
Apr 9, 2022
Merged

Misc. code cleanup #697

merged 1 commit into from
Apr 9, 2022

Conversation

sleberknight
Copy link
Member

  • Remove Lombok Sl4j annotation in classes that don't use the Logger
    (KillTimeoutAction, CidrRange, and KiwiPagingTest)
  • Remove unused private constant from EndpointConfiguration
  • Use GenericType in KiwiStandardResponsesIntegrationTest when reading
    the response entity, which makes the unchecked warning
    suppression unnecessary
  • Replace deprecated AssertJ usingElementComparatorOnFields with
    usingRecursiveFieldByFieldElementComparatorOnFields
  • Add an unused warning suppression to one of the classes inside
    KiwiReflectionTest, because the fields are never accessed directly
    or via reflection (the test is asking for non-static fields)

* Remove Lombok Sl4j annotation in classes that don't use the Logger
  (KillTimeoutAction, CidrRange, and KiwiPagingTest)
* Remove unused private constant from EndpointConfiguration
* Use GenericType in KiwiStandardResponsesIntegrationTest when reading
   the response entity, which makes the unchecked warning
   suppression unnecessary
* Replace deprecated AssertJ usingElementComparatorOnFields with
  usingRecursiveFieldByFieldElementComparatorOnFields
* Add an unused warning suppression to one of the classes inside
  KiwiReflectionTest, because the fields are never accessed directly
  or via reflection (the test is asking for non-static fields)
@sleberknight sleberknight added the code cleanup Fix issues reported by Sonar or any other code analysis tools label Apr 8, 2022
@sleberknight sleberknight added this to the 1.3.1 milestone Apr 8, 2022
@sleberknight sleberknight requested a review from chrisrohr April 8, 2022 21:07
@sonarcloud
Copy link

sonarcloud bot commented Apr 8, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@sleberknight sleberknight merged commit d86741a into master Apr 9, 2022
@sleberknight sleberknight deleted the misc-cleanup branch April 9, 2022 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code cleanup Fix issues reported by Sonar or any other code analysis tools
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants