Skip to content

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

Merged
kodiakhq[bot] merged 1 commit intomainfrom
refactor/follow_encode_record
Aug 23, 2023
Merged

refactor: Avoid casting, use Optional, use equals, use Boolean.toString#90
kodiakhq[bot] merged 1 commit intomainfrom
refactor/follow_encode_record

Conversation

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah erezrokah requested a review from mnorbury August 23, 2023 12:59
return Optional.empty();
}

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

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
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
return Optional.empty();
}

public Optional<TableResolver> getResolver() {
Copy link
Copy Markdown
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