From d1c14f4ebd0e2c10185ea3775b96a686b42c8e89 Mon Sep 17 00:00:00 2001 From: David Waltermire Date: Sat, 4 Jan 2025 13:58:41 -0500 Subject: [PATCH] Apply suggestions from code review --- .../metaschema/core/metapath/function/library/MapForEach.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/gov/nist/secauto/metaschema/core/metapath/function/library/MapForEach.java b/core/src/main/java/gov/nist/secauto/metaschema/core/metapath/function/library/MapForEach.java index 0a7223d89..d08f0b977 100644 --- a/core/src/main/java/gov/nist/secauto/metaschema/core/metapath/function/library/MapForEach.java +++ b/core/src/main/java/gov/nist/secauto/metaschema/core/metapath/function/library/MapForEach.java @@ -46,7 +46,7 @@ public final class MapForEach { .one() .build()) .returnType(IItem.type()) - .returnOneOrMore() + .returnZeroOrMore() .functionHandler(MapForEach::execute) .build();