From 400f4840ade7ad9d8e7e9a048dd17752de3b6194 Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Tue, 23 Jan 2024 17:07:57 +0100 Subject: [PATCH] (*) Fix broken code in jmh --- .../jmh/java/nu/marginalia/array/SimulatedNaiveArray.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/code/libraries/array/src/jmh/java/nu/marginalia/array/SimulatedNaiveArray.java b/code/libraries/array/src/jmh/java/nu/marginalia/array/SimulatedNaiveArray.java index 84aa06dc..70aacd48 100644 --- a/code/libraries/array/src/jmh/java/nu/marginalia/array/SimulatedNaiveArray.java +++ b/code/libraries/array/src/jmh/java/nu/marginalia/array/SimulatedNaiveArray.java @@ -1,7 +1,5 @@ package nu.marginalia.array; -import com.upserve.uppend.blobs.NativeIO; - import java.io.IOException; import java.nio.LongBuffer; import java.nio.channels.FileChannel; @@ -33,12 +31,6 @@ public class SimulatedNaiveArray implements LongArray { public void close() { } - @Override - public void advice(NativeIO.Advice advice) throws IOException {} - - @Override - public void advice(NativeIO.Advice advice, long start, long end) throws IOException {} - @Override public long get(long pos) { return buffers[(int) pos/bufferSize].get((int) pos%bufferSize);