From d08a36dcb3bd11a36475dcf54f1648accea76166 Mon Sep 17 00:00:00 2001 From: Jianfeng Mao <4297243+jmao-denver@users.noreply.github.com> Date: Mon, 8 Jul 2024 13:25:48 -0600 Subject: [PATCH] Update Integrations/src/main/java/io/deephaven/integrations/python/PythonMergedListenerAdapter.java Co-authored-by: Ryan Caudy --- .../integrations/python/PythonMergedListenerAdapter.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Integrations/src/main/java/io/deephaven/integrations/python/PythonMergedListenerAdapter.java b/Integrations/src/main/java/io/deephaven/integrations/python/PythonMergedListenerAdapter.java index 6506a977f8b..a5597c360ec 100644 --- a/Integrations/src/main/java/io/deephaven/integrations/python/PythonMergedListenerAdapter.java +++ b/Integrations/src/main/java/io/deephaven/integrations/python/PythonMergedListenerAdapter.java @@ -54,15 +54,6 @@ public static PythonMergedListenerAdapter create( if (recorders.length < 2) { throw new IllegalArgumentException("At least two recorders must be provided"); } - // TODO: Uncomment this check if confirmed that the alternative way of checking is better - // final UpdateGraph updateGraph = ExecutionContext.getContext().getUpdateGraph(); - // if (!Arrays.stream(recorders).allMatch(t -> t.getParent().getUpdateGraph() == updateGraph)) { - // throw new IllegalArgumentException("All recorders must be from the same update graph"); - // } - // - // if (!Arrays.stream(dependencies).allMatch(t -> t.getUpdateGraph() == updateGraph)) { - // throw new IllegalArgumentException("All dependencies must be from the same update graph"); - // } final NotificationQueue.Dependency[] allItems = Stream.concat(Arrays.stream(recorders), Arrays.stream(dependencies))