Skip to content

GH-40819: [Java] Adding Spotless to Algorithm module - #41825

Merged
lidavidm merged 18 commits into
apache:mainfrom
vibhatha:feat-spotless-algorithm
Jun 10, 2024
Merged

lidavidm merged 18 commits into
apache:mainfrom
vibhatha:feat-spotless-algorithm

Conversation

@vibhatha

@vibhatha vibhatha commented May 25, 2024 •

Copy link
Copy Markdown
Contributor

Rationale for this change

Adding code style and formatting options for Algorithm module.

What changes are included in this PR?

Code formatting spotless plugin has been added.

Are these changes tested?

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

Are there any user-facing changes?

No

@vibhatha

Copy link
Copy Markdown
Contributor Author

@laurentgo I made a new PR. Would you mind giving an early review?

Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/spotless/asf-java.license Resolved
Comment thread java/algorithm/pom.xml Resolved
@vibhatha

Copy link
Copy Markdown
Contributor Author

Thank you @laurentgo for the feedback. I will update.

@vibhatha
vibhatha force-pushed the feat-spotless-algorithm branch from 415cd41 to 875e16a Compare May 29, 2024 02:05
@vibhatha
vibhatha marked this pull request as ready for review May 29, 2024 07:34
@vibhatha
vibhatha requested a review from lidavidm as a code owner May 29, 2024 07:34
@vibhatha
vibhatha marked this pull request as draft May 29, 2024 07:34
@vibhatha
vibhatha marked this pull request as ready for review May 29, 2024 07:51
@vibhatha

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit -g java

@vibhatha
vibhatha requested a review from laurentgo May 29, 2024 07:51
@github-actions

Copy link
Copy Markdown

Revision: 6d43ea7b02b8005eec480c072ec0ab10c4583839

Submitted crossbow builds: ursacomputing/crossbow @ actions-700d797d93

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

@vibhatha

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: 451a350d83ab733d65ac806372c83246470760b8

Submitted crossbow builds: ursacomputing/crossbow @ actions-07022b7a25

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

@vibhatha

Copy link
Copy Markdown
Contributor Author

@github-actions crossbow submit -g java

@github-actions

Copy link
Copy Markdown

Revision: 451a350d83ab733d65ac806372c83246470760b8

Submitted crossbow builds: ursacomputing/crossbow @ actions-101e5e213b

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

Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
Comment thread java/algorithm/pom.xml Resolved
@vibhatha
vibhatha force-pushed the feat-spotless-algorithm branch from ca8ac49 to a70f7c5 Compare June 7, 2024 07:36
@vibhatha

vibhatha commented Jun 7, 2024

Copy link
Copy Markdown
Contributor Author

@lidavidm I rebased the PR, conflicts resolved.

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

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 58 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

Adding code style and formatting options for Algorithm module. 

### What changes are included in this PR?

Code formatting spotless plugin has been added. 

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

Lead-authored-by: Vibhatha Abeykoon <vibhatha@gmail.com>
Co-authored-by: Vibhatha Lakmal Abeykoon <vibhatha@users.noreply.github.com>
Co-authored-by: David Li <li.davidm96@gmail.com>
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