Skip to content

Commit 62512be

Browse files
knutwalkerFlorentinDchris1011011
committed
Add @​Nullable annotation
Co-Authored-By: Florentin Dörre <florentin.dorre@neotechnology.com> Co-Authored-By: Christina Eiba <christina.eiba@neo4j.com>
1 parent 8ad79b9 commit 62512be

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cypher-aggregation/src/main/java/org/neo4j/gds/projection/ValueMapWrapper.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
package org.neo4j.gds.projection;
2121

2222
import org.jetbrains.annotations.NotNull;
23+
import org.jetbrains.annotations.Nullable;
2324
import org.neo4j.gds.core.CypherMapAccess;
2425
import org.neo4j.values.AnyValue;
2526
import org.neo4j.values.SequenceValue;
@@ -45,7 +46,7 @@
4546
*/
4647
public final class ValueMapWrapper implements CypherMapAccess {
4748

48-
public static ValueMapWrapper create(MapValue config) {
49+
public static ValueMapWrapper create(@Nullable MapValue config) {
4950
if (config == null || config.isEmpty()) {
5051
return empty();
5152
}

0 commit comments

Comments
 (0)