mirror of https://github.com/apache/lucene.git
Wrong casting of CharSequence to String
This commit is contained in:
parent
8938c9f3d0
commit
0ec660a113
|
@ -886,7 +886,7 @@ public class JavaBinCodec implements PushWriter {
|
|||
daos.writeByte(NULL);
|
||||
return true;
|
||||
} else if (val instanceof CharSequence) {
|
||||
writeStr((String) val);
|
||||
writeStr((CharSequence) val);
|
||||
return true;
|
||||
} else if (val instanceof Number) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue