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

refactor: make classes accessed from language-* to public #9407

Conversation

miurahr
Copy link
Contributor

@miurahr miurahr commented Sep 29, 2023

Purpose and motivation

Preparation for "Support Java9 Platform Module System(JPMS)" #9406

Circle CI in #9406 failed to build because it uses a snapshot version of "languagetool-core" library.
So I propose a preparation change for the JPMS support.

What problem is resolved?

#9406 changes packages from o.l.language to o.l.language.(lang) to support JPMS.
It asks "language-core" expose some classes to see from another package.

What is changes?

  • escalate o.l.c.TokenExpressionFactory and o.l.language.Contributor(s) to public

Further information

we can control visibility by module-info.java in future when languagetool support fully JPMS even when we escalate class to public.

@miurahr miurahr marked this pull request as ready for review September 29, 2023 10:43
@miurahr miurahr force-pushed the topic/miurahr/prep-java9-platform-module-system branch from 5c56c22 to dcbc3cc Compare September 29, 2023 12:11
- Escalate to public
    - o.l.c.TokenExpressionFactory
    - o.o.l.l.Contributor(s)
        - constructors
        - static constants

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or

(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or

(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.

(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
@miurahr miurahr force-pushed the topic/miurahr/prep-java9-platform-module-system branch from dcbc3cc to a5af1c3 Compare September 30, 2023 03:03
@danielnaber danielnaber merged commit 5757124 into languagetool-org:master Oct 2, 2023
1 check passed
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.

2 participants