Skip to content

GH-40829: [Java] Adding Spotless to Memory modules - #42056

Merged
lidavidm merged 2 commits into
apache:mainfrom
laurentgo:laurentgo/memory-java-formatting
Jun 11, 2024
Merged

lidavidm merged 2 commits into
apache:mainfrom
laurentgo:laurentgo/memory-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 Memory modules.

  • memory-core
  • memory-netty
  • memory-netty-buffer-patch
  • memory-unsafe

What changes are included in this PR?

Java code formatting via spotless plugin has been enabled.

Checkstyle configuration has been changed to remove the 120 line character limit as g-j-f does not wrap long strings

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 Memory modules.
- [x] memory-core
- [x] memory-netty
- [x] memory-netty-buffer-patch
- [x] memory-unsafe

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

Java code formatting via spotless plugin has been enabled.

Checkstyle configuration has been changed to remove the 120 line character
limit as g-j-f does not wrap long strings

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 12:39
@github-actions

Copy link
Copy Markdown

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

@vibhatha

Copy link
Copy Markdown
Contributor

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: e249dd0

Submitted crossbow builds: ursacomputing/crossbow @ actions-fb565b2f51

Task Status
java-jars GitHub Actions
test-conda-python-3.10-spark-v3.5.0 GitHub Actions
test-conda-python-3.11-spark-master GitHub Actions
test-conda-python-3.8-spark-v3.5.0 GitHub Actions
verify-rc-source-java-linux-almalinux-8-amd64 GitHub Actions
verify-rc-source-java-linux-conda-latest-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-20.04-amd64 GitHub Actions
verify-rc-source-java-linux-ubuntu-22.04-amd64 GitHub Actions
verify-rc-source-java-macos-amd64 GitHub Actions

@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 ee62d97.

There were no benchmark performance regressions. 🎉

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

@laurentgo
laurentgo deleted the laurentgo/memory-java-formatting branch June 13, 2024 19:24
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 Memory modules.
- [x] memory-core
- [x] memory-netty
- [x] memory-netty-buffer-patch
- [x] memory-unsafe

### What changes are included in this PR?

Java code formatting via spotless plugin has been enabled.

Checkstyle configuration has been changed to remove the 120 line character limit as g-j-f does not wrap long strings

### 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#40829

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.

3 participants