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

feat: remove equalsIgnoreCase from all Name classes (MINOR) #3411

Merged
merged 1 commit into from
Sep 26, 2019

Conversation

agavra
Copy link
Contributor

@agavra agavra commented Sep 25, 2019

Description

We don't ever actually need to compare ignoring case because ParserUtil will parse anything unquoted into upper case.

This patch also includes some very minor refactors and javadoc improvements.

Testing done

mvn clean install

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@agavra agavra requested a review from a team as a code owner September 25, 2019 18:36
Copy link
Contributor

@vcrfxia vcrfxia left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@@ -131,7 +131,7 @@ public ConnectSchema valueConnectSchema() {
}

@VisibleForTesting
public Optional<Column> findColumn(final String columnName) {
private Optional<Column> findColumn(final String columnName) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we still need the @VisibleForTesting annotation if the method is private?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

derp! I'll fix this in a follow-up PR so I don't have to re-test (i'm touching this code anyway). Thanks for the review!

@vcrfxia vcrfxia requested a review from a team September 26, 2019 21:59
@agavra agavra merged commit b78619c into confluentinc:master Sep 26, 2019
@agavra agavra deleted the remove_case_equals branch September 26, 2019 22:00
Copy link
Contributor

@purplefox purplefox left a comment

Choose a reason for hiding this comment

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

LGTM!

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.

3 participants