Skip to content

Commit

Permalink
refactor: tweak Contributor constructor call
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Sep 29, 2023
1 parent 2307242 commit 41f7463
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,19 @@
*/
package org.languagetool.language;

import lombok.Getter;

import java.util.Objects;

/**
* A person that contributed rules or code to LanguageTool.
*/
public final class Contributor {

@Getter
private final String name;

@Getter
private final String url;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public Tagger createDefaultTagger() {

@Override
public Contributor[] getMaintainers() {
return new Contributor[] { new Contributor("Jithesh.V.S") };
return new Contributor[] { new Contributor("Jithesh.V.S", null) };
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public Synthesizer createDefaultSynthesizer() {

@Override
public Contributor[] getMaintainers() {
return new Contributor[] {new Contributor("ljo@fps_gbg")};
return new Contributor[] {new Contributor("ljo@fps_gbg", null)};
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ public SentenceTokenizer createDefaultSentenceTokenizer() {
@Override
public Contributor[] getMaintainers() {
return new Contributor[] {
new Contributor("Andriy Rysin"),
new Contributor("Maksym Davydov")
new Contributor("Andriy Rysin", null),
new Contributor("Maksym Davydov", null)
};
}

Expand Down

0 comments on commit 41f7463

Please sign in to comment.