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

MixedCaseNameCheck Enhancements (without AutoFix) #546

Merged
merged 12 commits into from
May 4, 2021

Conversation

vladlemberg
Copy link
Collaborator

Description:

Please refer: #393

Check enhancements: #540

Potential Impact:

List potential impact to downstream libraries here (ex. atlas-checks, atlas-generator).

Unit Test Approach:

Add unit test for bug fix and more corner case coverage

Test Results:

passed

@vladlemberg vladlemberg marked this pull request as draft April 9, 2021 17:31
@vladlemberg vladlemberg marked this pull request as ready for review April 27, 2021 23:21
@vladlemberg vladlemberg changed the title MixedCaseNameCheck AutoFix MixedCaseNameCheck Enhancements (without AutoFix) Apr 27, 2021
atiannicelli
atiannicelli previously approved these changes Apr 30, 2021
Bentleysb
Bentleysb previously approved these changes May 3, 2021
Comment on lines 140 to 143
&& !Validators.hasValuesFor(object, BrandTag.class)
&& !Validators.hasValuesFor(object, ShopTag.class)
&& !Validators.hasValuesFor(object, AmenityTag.class)
&& !Validators.hasValuesFor(object, LeisureTag.class)
Copy link
Collaborator

@sayas01 sayas01 May 3, 2021

Choose a reason for hiding this comment

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

this could be combined as && !Validators.hasValuesFor(object, BrandTag.class, ShopTag.class, AmenityTag.class, LeisureTag.class)

@vladlemberg vladlemberg dismissed stale reviews from Bentleysb and atiannicelli via d51ba09 May 4, 2021 15:09
@sonarcloud
Copy link

sonarcloud bot commented May 4, 2021

Kudos, SonarCloud Quality Gate passed!

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

94.7% 94.7% Coverage
0.0% 0.0% Duplication

Copy link
Collaborator

@sayas01 sayas01 left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@dcastrowa dcastrowa merged commit 3844e43 into osmlab:dev May 4, 2021
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.

5 participants