Skip to content

Commit

Permalink
Make methods of ChunkTaggedToken public
Browse files Browse the repository at this point in the history
If an English or German module is loaded with a different classloader than Core, you will get an IllegalAccessError.
  • Loading branch information
Fatalll authored and danielnaber committed Aug 27, 2020
1 parent 47090e3 commit 4d7cc14
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,19 @@ public ChunkTaggedToken(String token, List<ChunkTag> chunkTags, AnalyzedTokenRea
this.readings = readings;
}

String getToken() {
public String getToken() {
return token;
}

List<ChunkTag> getChunkTags() {
public List<ChunkTag> getChunkTags() {
return chunkTags;
}

/**
* @return readings or {@code null}
*/
@Nullable
AnalyzedTokenReadings getReadings() {
public AnalyzedTokenReadings getReadings() {
return readings;
}

Expand Down

0 comments on commit 4d7cc14

Please sign in to comment.