Skip to content

Commit

Permalink
Repair a mis-step in rebase.
Browse files Browse the repository at this point in the history
  • Loading branch information
alanpaxton committed May 30, 2023
1 parent cf499e3 commit 9c9fa99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/src/test/java/org/rocksdb/MergeTest.java
Expand Up @@ -45,14 +45,14 @@ public void stringOption()
}
}

private byte[] longToByteArray(final long l) {
static byte[] longToByteArray(final long l) {
final ByteBuffer buf =
ByteBuffer.allocate(Long.SIZE / Byte.SIZE).order(ByteOrder.LITTLE_ENDIAN);
buf.putLong(l);
return buf.array();
}

private long longFromByteArray(final byte[] a) {
static long longFromByteArray(final byte[] a) {
final ByteBuffer buf =
ByteBuffer.allocate(Long.SIZE / Byte.SIZE).order(ByteOrder.LITTLE_ENDIAN);
buf.put(a);
Expand Down

0 comments on commit 9c9fa99

Please sign in to comment.