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

Rename method to avoid confusing name clash with parent #815

Merged
merged 3 commits into from
Jan 4, 2022

Conversation

elefeint
Copy link
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.

@sonarcloud
Copy link

sonarcloud bot commented Dec 23, 2021

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