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

PalantirJavaFormat in plugin-maven should take style parameter #1694

Merged
merged 3 commits into from
May 10, 2023

Conversation

tisonkun
Copy link
Contributor

@tisonkun tisonkun commented May 6, 2023

It's on the document, but we don't actually have such a parameter.

@nedtwigg

It's on the document, but we don't actually have such a parameter.
@@ -27,9 +27,13 @@ public class PalantirJavaFormat implements FormatterStepFactory {
@Parameter
private String version;

@Parameter
private String style;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Invalid parameter will failed on PalantirJavaFormatFormatterFunc.<init> calls JavaFormatterOptions.Style.valueOf(style).

@nedtwigg nedtwigg merged commit 487da17 into diffplug:main May 10, 2023
1 of 3 checks passed
@tisonkun tisonkun deleted the patch-1 branch May 10, 2023 08:05
@tisonkun
Copy link
Contributor Author

@nedtwigg can I have a release to use it downstream?

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.

None yet

2 participants