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

Ensure checkstyle can be imported into IDE #1083

Merged
merged 2 commits into from
Jul 19, 2024

Conversation

artur-ciocanu
Copy link
Contributor

Description

This PR upgrades Checkstyle plugin to latest 10.17.0 and makes sure that checkstyle.xml is fixed so it can be imported into IDE like IntelliJ. This should ensure that anyone can use IDE to correctly format the code and ensure consistent code style.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1082

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@artur-ciocanu artur-ciocanu requested review from a team as code owners July 19, 2024 09:20
Signed-off-by: Artur Ciocanu <ciocanu@adobe.com>
@artur-ciocanu
Copy link
Contributor Author

@artursouza and @cicoyle this is a very, very, very boring PR, but without it developer experience was suboptimal. I had to fight the IDE and checkstyle to ensure the formatting is consistent.

After this PR is merged anyone will be able to import into IDE and have proper code style.

@salaboy
Copy link
Contributor

salaboy commented Jul 19, 2024

@artursouza @cicoyle we need this, so our IDEs format and check style on save :)

@salaboy
Copy link
Contributor

salaboy commented Jul 19, 2024

This seems to be working as expected.. a random test seems to be failing.

Signed-off-by: Artur Ciocanu <ciocanu@adobe.com>
@artursouza artursouza merged commit a98327e into dapr:master Jul 19, 2024
7 checks passed
@cicoyle cicoyle added this to the v1.12 milestone Jul 23, 2024
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.

Checkstyle is unusable for Java Code Style
4 participants