Skip to content

Commit

Permalink
Make constructor 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 26, 2020
1 parent 710bf69 commit d99f4ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class ChunkTaggedToken {
/**
* @param readings may be null, caused by differences in tokenization we don't always have a 1:1 mapping
*/
ChunkTaggedToken(String token, List<ChunkTag> chunkTags, AnalyzedTokenReadings readings) {
public ChunkTaggedToken(String token, List<ChunkTag> chunkTags, AnalyzedTokenReadings readings) {
this.token = Objects.requireNonNull(token);
this.chunkTags = Objects.requireNonNull(chunkTags);
this.readings = readings;
Expand Down

0 comments on commit d99f4ae

Please sign in to comment.