Skip to content

GH-3468: Fix lint error which block compilation#3469

Open
Yao-MR wants to merge 1 commit intoapache:masterfrom
Yao-MR:bugfix_lint
Open

GH-3468: Fix lint error which block compilation#3469
Yao-MR wants to merge 1 commit intoapache:masterfrom
Yao-MR:bugfix_lint

Conversation

@Yao-MR
Copy link
Copy Markdown

@Yao-MR Yao-MR commented Apr 7, 2026

1. Rationale for this change

The project has comment formatting issues that violate lint rules, which block compilation. This PR fixes those lint errors to allow the project to compile successfully.


2. What changes are included in this PR?

This PR contains purely code style / comment formatting adjustments across 4 Java files:

File Change
ParquetMetadataConverter.java Fixed formatting/indentation of the // falls through comment in a switch statement
DirectCodecFactory.java Realigned a multi-line // todo: comment to comply with lint rules
BufferedProtocolReadToWrite.java Fixed indentation of a multi-line comment related to TType.ENUM
ProtocolReadToWrite.java Same as above — fixed multi-line comment indentation

All changes are strictly comment formatting corrections. No functional code was modified.


3. Are these changes tested?

Yes. The author confirmed the changes were verified through Compile and UT (Unit Tests). Since only comment formatting was changed with no logic modifications, passing compilation and unit tests provides sufficient validation.


4. Are there any user-facing changes?

No. This PR only corrects comment code style. It does not affect any APIs, functional behavior, or anything perceivable by end users.

@Yao-MR
Copy link
Copy Markdown
Author

Yao-MR commented Apr 16, 2026

hi. @steveloughran can you have a quick review ?

Copy link
Copy Markdown
Contributor

@steveloughran steveloughran left a comment

Choose a reason for hiding this comment

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

LGTM.

I'm not a committer though, you'll need someone else to review it too

@Fokko
Copy link
Copy Markdown
Contributor

Fokko commented Apr 16, 2026

@Yao-MR I'm afraid that the linter does not agree with your changes. What kind of error did you see locally?

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