Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion client/src/com/aerospike/client/Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,8 @@ public int getLength() {
* Byte value.
*/
public static final class ByteValue extends Value {
private static final int TYPE = ParticleType.INTEGER;

private final byte value;

public ByteValue(byte value) {
Expand Down Expand Up @@ -660,7 +662,7 @@ public void pack(Packer packer) {
@Override
public int getType() {
// The server does not natively handle one byte, so store as long (8 byte integer).
return ParticleType.INTEGER;
return TYPE;
}

@Override
Expand Down