Skip to content

refactor: Avoid casting, use Optional, use equals, use Boolean.toString #90

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

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

erezrokah
Copy link
Member

@erezrokah erezrokah requested a review from mnorbury August 23, 2023 12:59
@@ -210,6 +210,10 @@ public Optional<Column> getColumn(String name) {
return Optional.empty();
}

public Optional<TableResolver> getResolver() {
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Collaborator

Choose a reason for hiding this comment

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

Good advice - Optional shouldn't be a field, just the getter.

@erezrokah erezrokah added the automerge Add to automerge PRs once requirements are met label Aug 23, 2023
@@ -210,6 +210,10 @@ public Optional<Column> getColumn(String name) {
return Optional.empty();
}

public Optional<TableResolver> getResolver() {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good advice - Optional shouldn't be a field, just the getter.

@kodiakhq kodiakhq bot merged commit 1fe0c7f into main Aug 23, 2023
@kodiakhq kodiakhq bot deleted the refactor/follow_encode_record branch August 23, 2023 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Add to automerge PRs once requirements are met
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants