* fixed the type check for short
This commit is contained in:
parent
46223c117a
commit
d069212ce4
|
@ -369,7 +369,7 @@ public abstract class StreamOutput extends OutputStream {
|
|||
} else if (value instanceof Text) {
|
||||
writeByte((byte) 15);
|
||||
writeText((Text) value);
|
||||
} else if (value == Short.class) {
|
||||
} else if (type == Short.class) {
|
||||
writeByte((byte) 16);
|
||||
writeShort((Short) value);
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue