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

GH-42121: [Java] Cleanup spotless plugin configuration #43019

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

laurentgo
Copy link
Contributor

@laurentgo laurentgo commented Jun 24, 2024

What changes are included in this PR?

As all modules have been migrated over to spotless, remove per-module configuration and enable java formatting at the root level.

Exclude format module from java formatting but still enable license formatting for this module as well.

Are these changes tested?

Through CI/CD

Are there any user-facing changes?

No

Fixes #42121 #40826

As all modules have been migrated over to spotless, remove per-module
configuration and enable java formatting at the root level.

Exclude format module from java formatting but still enable license
formatting for this module as well.

Fixes apache#42121 apache#40826
@laurentgo laurentgo requested a review from lidavidm as a code owner June 24, 2024 15:20
Copy link

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

Comment on lines -1 to -18
// Licensed to the Apache Software Foundation (ASF) under one
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
// to you under the Apache License, Version 2.0 (the
// "License"); you may not use this file except in compliance
// with the License. You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// automatically generated by the FlatBuffers compiler, do not modify

Copy link
Collaborator

Choose a reason for hiding this comment

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

This shouldn't be formatted at all, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The license header is added manually to the generated files. I thought it should be consistent with the other java files as well, which is why I changed those and updated the README.md section regarding the format module but the java formatting has been disabled.

@github-actions github-actions bot added awaiting committer review Awaiting committer review and removed awaiting review Awaiting review labels Jun 24, 2024
@lidavidm
Copy link
Member

@github-actions crossbow submit -g java

@github-actions github-actions bot added awaiting merge Awaiting merge and removed awaiting committer review Awaiting committer review labels Jun 24, 2024
Copy link

Revision: a6ff51f

Submitted crossbow builds: ursacomputing/crossbow @ actions-8a68e8380e

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

@lidavidm lidavidm merged commit 3e7ae53 into apache:main Jun 25, 2024
18 checks passed
@lidavidm lidavidm removed the awaiting merge Awaiting merge label Jun 25, 2024
Copy link

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

There were no benchmark performance regressions. 🎉

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

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.

[Java] Cleanup spotless and checkstyle configuration
3 participants