Skip to content

Commit

Permalink
refactor: make classes accessed from language-* to public
Browse files Browse the repository at this point in the history
 - escalate o.l.c.TokenExpressionFactory and o.o.l.l.Contributor(s)

Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Sep 29, 2023
1 parent fe5982a commit dcbc3cc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
/**
* @since 2.9
*/
final class TokenExpressionFactory extends ExpressionFactory<ChunkTaggedToken> {
public final class TokenExpressionFactory extends ExpressionFactory<ChunkTaggedToken> {

private final boolean caseSensitive;

/**
* @param caseSensitive whether word tokens should be compared case-sensitively - also used for regular expressions
*/
TokenExpressionFactory(boolean caseSensitive) {
public TokenExpressionFactory(boolean caseSensitive) {
this.caseSensitive = caseSensitive;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ public final class Contributor {
* @param name full name
* @param url URL to homepage or similar (optional)
*/
Contributor(String name, String url) {
public Contributor(String name, String url) {
this.name = Objects.requireNonNull(name, "name cannot be null");
this.url = url;
}

Contributor(String name) {
public Contributor(String name) {
this(name, null);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@
/**
* Constants for contributors who contribute to more than one language (use to avoid duplication).
*/
final class Contributors {
public final class Contributors {

private Contributors() {
}

static final Contributor MARCIN_MILKOWSKI = new Contributor("Marcin Miłkowski", "http://marcinmilkowski.pl");
static final Contributor DANIEL_NABER = new Contributor("Daniel Naber", "http://www.danielnaber.de");
static final Contributor DOMINIQUE_PELLE = new Contributor("Dominique Pellé", "http://dominiko.livejournal.com/tag/lingvoilo");
public static final Contributor MARCIN_MILKOWSKI = new Contributor("Marcin Miłkowski", "http://marcinmilkowski.pl");
public static final Contributor DANIEL_NABER = new Contributor("Daniel Naber", "http://www.danielnaber.de");
public static final Contributor DOMINIQUE_PELLE = new Contributor("Dominique Pellé", "http://dominiko.livejournal.com/tag/lingvoilo");

}

0 comments on commit dcbc3cc

Please sign in to comment.