Fix broken test, compiler warning.
This commit is contained in:
parent
722ff3bffb
commit
a62015d5f3
@ -7,7 +7,6 @@ import lombok.ToString;
|
|||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
|
||||||
@ToString
|
|
||||||
@Getter
|
@Getter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
public class EdgeSearchSubquery {
|
public class EdgeSearchSubquery {
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package nu.marginalia.index.svc.searchset;
|
package nu.marginalia.index.svc.searchset;
|
||||||
|
|
||||||
|
import it.unimi.dsi.fastutil.ints.IntOpenHashSet;
|
||||||
import nu.marginalia.index.client.model.query.SearchSetIdentifier;
|
import nu.marginalia.index.client.model.query.SearchSetIdentifier;
|
||||||
import org.junit.jupiter.api.Test;
|
import org.junit.jupiter.api.Test;
|
||||||
import org.roaringbitmap.RoaringBitmap;
|
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.nio.file.Files;
|
import java.nio.file.Files;
|
||||||
@ -16,7 +16,7 @@ class RankingSearchSetTest {
|
|||||||
public void testSerDes() throws IOException {
|
public void testSerDes() throws IOException {
|
||||||
Path p = Files.createTempFile(getClass().getSimpleName(), ".dat");
|
Path p = Files.createTempFile(getClass().getSimpleName(), ".dat");
|
||||||
|
|
||||||
var bm = new RoaringBitmap();
|
var bm = new IntOpenHashSet();
|
||||||
bm.add(1);
|
bm.add(1);
|
||||||
bm.add(5);
|
bm.add(5);
|
||||||
bm.add(7);
|
bm.add(7);
|
||||||
|
Loading…
Reference in New Issue
Block a user