Skip to content

GH-40832: [Java] Adding Spotless to Vector module - #42061

Merged
lidavidm merged 1 commit into
apache:mainfrom
laurentgo:laurentgo/vector-java-formatting
Jun 11, 2024
Merged

lidavidm merged 1 commit into
apache:mainfrom
laurentgo:laurentgo/vector-java-formatting

Conversation

@laurentgo

@laurentgo laurentgo commented Jun 10, 2024 •

Copy link
Copy Markdown
Contributor

Rationale for this change

Applying Java code style and formatting options to Vector module.

What changes are included in this PR?

Java code formatting via spotless plugin has been enabled.

Address some missing javadoc comments violations in *StructVector classes caused by a change in the number of lines for the impacted methods.

Are these changes tested?

Yes, but doesn't involve test cases, the plugin itself corrects.

Are there any user-facing changes?

No

Rationale for this change
=========================

Applying Java code style and formatting options to Vector module.

What changes are included in this PR?
=====================================

Java code formatting via spotless plugin has been enabled.

Address some missing javadoc comments violations in *StructVector
classes caused by a change in the number of lines for the impacted
methods.

Are these changes tested?
=========================

Yes, but doesn't involve test cases, the plugin itself corrects.

Are there any user-facing changes?
==================================

No
@laurentgo
laurentgo requested a review from lidavidm as a code owner June 10, 2024 13:20
@github-actions

Copy link
Copy Markdown

⚠️ GitHub issue #40832 has been automatically assigned in GitHub to PR creator.

@lidavidm lidavidm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is spotless able to deal with the templates too? (Presumably not?)

@laurentgo

Copy link
Copy Markdown
Contributor Author

Is spotless able to deal with the templates too? (Presumably not?)

Not. The workaround would be to check the resulting files but it would not be possible to automatically apply fix to them.

@lidavidm

Copy link
Copy Markdown
Member

True, and the generated files' formatting presumably isn't a big deal

@lidavidm
lidavidm merged commit c7bfd2e into apache:main Jun 11, 2024
@laurentgo
laurentgo deleted the laurentgo/vector-java-formatting branch June 11, 2024 14:01
@conbench-apache-arrow

Copy link
Copy Markdown

After merging your PR, Conbench analyzed the 5 benchmarking runs that have been run so far on merge-commit c7bfd2e.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 6 possible false positives for unstable benchmarks that are known to sometimes produce them.

pribor pushed a commit to GlobalWebIndex/arrow that referenced this pull request Oct 24, 2025
### Rationale for this change

Applying Java code style and formatting options to Vector module.

### What changes are included in this PR?

Java code formatting via spotless plugin has been enabled.

Address some missing javadoc comments violations in *StructVector classes caused by a change in the number of lines for the impacted methods.

### Are these changes tested?

Yes, but doesn't involve test cases, the plugin itself corrects.

### Are there any user-facing changes?

No

* GitHub Issue: apache#40832

Authored-by: Laurent Goujon <laurent@apache.org>
Signed-off-by: David Li <li.davidm96@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants