From bbad4b667f99caf0eb0d34d100b0e3ea1e23a36a Mon Sep 17 00:00:00 2001 From: GIlca Date: Wed, 3 May 2023 08:31:39 +0300 Subject: [PATCH] ldap legacy fix for hybrid --- .../io/cloudslang/lang/runtime/env/ParentFlowStack.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/env/ParentFlowStack.java b/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/env/ParentFlowStack.java index 97796811b5..51c40066c9 100644 --- a/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/env/ParentFlowStack.java +++ b/cloudslang-runtime/src/main/java/io/cloudslang/lang/runtime/env/ParentFlowStack.java @@ -24,12 +24,18 @@ */ public class ParentFlowStack implements Serializable { + private static final long serialVersionUID = -3596242783100345155L; + private Deque stack; public ParentFlowStack() { this.stack = new ArrayDeque<>(); } + public ParentFlowData peekFirstParentFlowData() { + return stack.peekFirst(); + } + public void pushParentFlowData(ParentFlowData newContext) { stack.push(newContext); }