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

Unwanted space in "exports"-statement in module-info.java #550

Closed
BjornJaspers opened this issue Sep 6, 2022 · 0 comments · Fixed by #551
Closed

Unwanted space in "exports"-statement in module-info.java #550

BjornJaspers opened this issue Sep 6, 2022 · 0 comments · Fixed by #551

Comments

@BjornJaspers
Copy link
Contributor

Prettier-Java 1.6.2

Input:

open module org.myorg.module {
    requires some.required.module;

    exports org.myorg.module.exportpackage1;
    exports org.myorg.module.exportpackage2;
}

Output:

open module org.myorg.module {
    requires some.required.module;

    exports org.myorg.module.exportpackage1 ;
    exports org.myorg.module.exportpackage2 ;
}

Expected behavior:
There shouldn't be a space right before the semicolon in an exports-statement.

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 a pull request may close this issue.

1 participant