Skip to content

Rename method to avoid confusing name clash with parent#815

Merged
elefeint merged 3 commits intomainfrom
fix-confusing-method
Jan 4, 2022
Merged

Rename method to avoid confusing name clash with parent#815
elefeint merged 3 commits intomainfrom
fix-confusing-method

Conversation

@elefeint
Copy link
Copy Markdown
Contributor

Spring Data added a new package-private method in v2.5.0 that clashes in name with SpannerQueryMethod.getMethod(). Sonar had angry thoughts about this that came up when I set Spring Boot version to 2.5.x in this repo.

This PR should fix Sonar's complaint about a confusing method name. Also, since this method never had any business being public, and because this is a breaking change anyhow, I've reduced visibility to package-private.

@elefeint elefeint requested a review from meltsufin December 22, 2021 23:39
@sonarqubecloud
Copy link
Copy Markdown

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

90.0% 90.0% Coverage
0.0% 0.0% Duplication

@elefeint elefeint merged commit ddd34a8 into main Jan 4, 2022
@elefeint elefeint deleted the fix-confusing-method branch January 4, 2022 16:21
kateryna216 added a commit to kateryna216/spring-cloud-gcp that referenced this pull request Oct 20, 2022
…latform#815)

* rename method to avoid confusing name clash with parent

* add tests

* remove public modifier from tests
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