Skip to content

Commit f6e57ef

Browse files
vnickolovlassewesth
andcommitted
Apply suggestions from code review
Co-authored-by: Lasse Westh-Nielsen <lassewesth@gmail.com>
1 parent aa64074 commit f6e57ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

algo/src/test/java/org/neo4j/gds/similarity/filtering/NodeFilterTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
import org.neo4j.gds.core.loading.ArrayIdMapBuilder;
2626
import org.neo4j.gds.core.loading.LabelInformationBuilders;
2727

28+
import java.util.Collections;
2829
import java.util.List;
2930
import java.util.Set;
3031

@@ -38,7 +39,7 @@ void shouldFilterBasedOnLabel() {
3839
var labelOne = NodeLabel.of("one");
3940
var labelTwo = NodeLabel.of("two");
4041

41-
var labelInformationBuilder = LabelInformationBuilders.multiLabelWithCapacityAndLabelInformation(4, List.of(labelOne, labelTwo), List.of());
42+
var labelInformationBuilder = LabelInformationBuilders.multiLabelWithCapacityAndLabelInformation(4, List.of(labelOne, labelTwo), Collections.emptyList());
4243
labelInformationBuilder.addNodeIdToLabel(labelOne, 0);
4344
labelInformationBuilder.addNodeIdToLabel(labelTwo, 1);
4445
labelInformationBuilder.addNodeIdToLabel(labelOne, 2);

0 commit comments

Comments
 (0)