Fix broken test, compiler warning.

This commit is contained in:
Viktor Lofgren 2023-03-10 17:12:12 +01:00
parent 722ff3bffb
commit a62015d5f3
2 changed files with 2 additions and 3 deletions

View File

@ -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 {

View File

@ -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);