From 21accfed54a824143de19e3d40e299abd1a4c0d9 Mon Sep 17 00:00:00 2001 From: TobiasNx <61879957+TobiasNx@users.noreply.github.com> Date: Wed, 2 Oct 2024 12:36:07 +0200 Subject: [PATCH 1/2] Update ObjectToLiteral.java --- .../src/main/java/org/metafacture/mangling/ObjectToLiteral.java | 1 + 1 file changed, 1 insertion(+) diff --git a/metafacture-mangling/src/main/java/org/metafacture/mangling/ObjectToLiteral.java b/metafacture-mangling/src/main/java/org/metafacture/mangling/ObjectToLiteral.java index 63cc01c2..0c819156 100644 --- a/metafacture-mangling/src/main/java/org/metafacture/mangling/ObjectToLiteral.java +++ b/metafacture-mangling/src/main/java/org/metafacture/mangling/ObjectToLiteral.java @@ -29,6 +29,7 @@ * @author Christoph Böhme, Fabian Steeg */ @Description("Outputs a record containing the input object as literal") +@In(Object.class) @Out(StreamReceiver.class) @FluxCommand("object-to-literal") public final class ObjectToLiteral extends From 914ea8971e86ab89e90c9ffc6242eb5b007525a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20B=C3=BClte?= Date: Wed, 9 Oct 2024 14:27:14 +0200 Subject: [PATCH 2/2] Adjust as suggested by reviewer @fsteeg --- .../main/java/org/metafacture/mangling/ObjectToLiteral.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metafacture-mangling/src/main/java/org/metafacture/mangling/ObjectToLiteral.java b/metafacture-mangling/src/main/java/org/metafacture/mangling/ObjectToLiteral.java index 0c819156..022b5508 100644 --- a/metafacture-mangling/src/main/java/org/metafacture/mangling/ObjectToLiteral.java +++ b/metafacture-mangling/src/main/java/org/metafacture/mangling/ObjectToLiteral.java @@ -19,6 +19,7 @@ import org.metafacture.framework.FluxCommand; import org.metafacture.framework.StreamReceiver; import org.metafacture.framework.annotations.Description; +import org.metafacture.framework.annotations.In; import org.metafacture.framework.annotations.Out; import org.metafacture.framework.helpers.DefaultObjectPipe; @@ -29,7 +30,7 @@ * @author Christoph Böhme, Fabian Steeg */ @Description("Outputs a record containing the input object as literal") -@In(Object.class) +@In(Object.class) @Out(StreamReceiver.class) @FluxCommand("object-to-literal") public final class ObjectToLiteral extends