make fields private

This commit is contained in:
Peter Gromov 2021-03-05 16:21:19 +01:00
parent fb9805f4d3
commit 7b048c5610
1 changed files with 6 additions and 6 deletions

View File

@ -204,16 +204,16 @@ class WordStorage {
static class Builder {
private final boolean hasCustomMorphData;
private final int[] hashTable;
private byte[] wordData;
private final int[] chainLengths;
private final FlagEnumerator flagEnumerator;
private final ByteArrayDataOutput dataWriter;
private byte[] wordData;
private int commonPrefixLength, commonPrefixPos;
private String currentEntry = null;
private final List<char[]> group = new ArrayList<>();
private final List<Integer> morphDataIDs = new ArrayList<>();
private String currentEntry = null;
private final FlagEnumerator flagEnumerator;
private final ByteArrayDataOutput dataWriter;
int commonPrefixLength, commonPrefixPos;
Builder(int wordCount, boolean hasCustomMorphData, FlagEnumerator flagEnumerator) {
this.flagEnumerator = flagEnumerator;