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

Fix minor issues like possible NPE, unused local variable, typo. #229

Merged
merged 4 commits into from
Oct 7, 2024

Conversation

nk1506
Copy link
Contributor

@nk1506 nk1506 commented Aug 29, 2024

Description

Fix minor issues as NPE, unused varibale, typo.

@RussellSpitzer
Copy link
Member

@nk1506 Sorry about this but can you rebase? Looks like we are out of sync

ioImplClassName,
storageConfigurationInfo);
} else {
throw new ValidationException(
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we just log a warning here since storageConfiguration could be null?

Copy link
Member

Choose a reason for hiding this comment

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

@aihuaxu Are you requesting that no exception get thrown here?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah. What I meant is not to throw exception but just log a warning since storageConfiguration could be null.

Copy link
Contributor

@eric-maynard eric-maynard 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 for finding all these!

@eric-maynard eric-maynard merged commit bb47225 into apache:main Oct 7, 2024
4 checks passed
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