Skip to content

Commit

Permalink
reduce visibility of XXXMorphData; and they can be final
Browse files Browse the repository at this point in the history
  • Loading branch information
mocobeta committed Mar 17, 2022
1 parent 6502d63 commit b1a0033
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.apache.lucene.util.IOSupplier;

/** Morphological information for unk dictionary. */
public class UnknownMorphData extends TokenInfoMorphData {
final class UnknownMorphData extends TokenInfoMorphData {
UnknownMorphData(ByteBuffer buffer, IOSupplier<InputStream> posResource) throws IOException {
super(buffer, posResource);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.apache.lucene.analysis.ja.util.CSVUtil;

/** Morphological information for user dictionary. */
public class UserMorphData implements JaMorphData {
final class UserMorphData implements JaMorphData {
public static final int WORD_COST = -100000;
public static final int LEFT_ID = 5;
public static final int RIGHT_ID = 5;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.apache.lucene.util.IOSupplier;

/** Morphological information for unk dictionary. */
public class UnknownMorphData extends TokenInfoMorphData {
final class UnknownMorphData extends TokenInfoMorphData {
UnknownMorphData(ByteBuffer buffer, IOSupplier<InputStream> posResource) throws IOException {
super(buffer, posResource);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
import org.apache.lucene.analysis.ko.POS;

/** Morphological information for user dictionary. */
public class UserMorphData implements KoMorphData {
final class UserMorphData implements KoMorphData {
private static final int WORD_COST = -100000;

// NNG left
Expand Down

0 comments on commit b1a0033

Please sign in to comment.