Closed miurahr closed 1 year ago
I found that there are not enough if conditions for o.t.io.TrieWriter#writeSuccinctBitVector method.
if
o.t.io.TrieWriter#writeSuccinctBitVector
Argument SuccinctBitVector sbv is checked by instanceof
SuccinctBitVector sbv
instanceof
but it also can be
that become IOException.
IOException
I observed it when running TrieWriterTest with a Japanese wikipedia title data at 20230901.
I can say similar for TrieReader. It does not have a capability to produce LongsRank0OnlySuccinctBitVector and LongsRank1OnlySuccinctBitVector.
TrieReader
LongsRank0OnlySuccinctBitVector
LongsRank1OnlySuccinctBitVector
I found that there are not enough
if
conditions foro.t.io.TrieWriter#writeSuccinctBitVector
method.Argument
SuccinctBitVector sbv
is checked byinstanceof
but it also can be
that become
IOException
.I observed it when running TrieWriterTest with a Japanese wikipedia title data at 20230901.