Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,11 @@
<indent>
<spaces>true</spaces>
</indent>
<palantirJavaFormat />
<palantirJavaFormat>
<!-- Declare version so that spotless does not choose a version based on JDK version -->
<!-- https://github.com/diffplug/spotless/issues/2503#issuecomment-2953146277 -->
Copy link
Member

Choose a reason for hiding this comment

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

<version>2.67.0</version>
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I suppose the point is merely that this is some arbitrary recent version, rather than picking one of two distinct much older versions depending on the JRE.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was the most recent release of palantir-java-format as of the day that I created this pull request, as reported by https://mvnrepository.com/artifact/com.palantir.javaformat/palantir-java-format . Sadly, a newer release arrived the day after this commit was created and then another release happened several weeks after that.

Copy link
Member

Choose a reason for hiding this comment

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

Not a problem I think, just confirming.

</palantirJavaFormat>
<removeUnusedImports />
<toggleOffOn />
<trimTrailingWhitespace />
Expand Down