From 7cd0d73e7b60ea2bfc12d1f5c6205acd41844d3d Mon Sep 17 00:00:00 2001 From: Sokwhan Huh Date: Mon, 20 Nov 2023 20:33:48 -0800 Subject: [PATCH] Remove eval overload that accepts an Activation PiperOrigin-RevId: 584200754 --- runtime/src/main/java/dev/cel/runtime/CelRuntime.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/runtime/src/main/java/dev/cel/runtime/CelRuntime.java b/runtime/src/main/java/dev/cel/runtime/CelRuntime.java index e6e7167d..01260fb7 100644 --- a/runtime/src/main/java/dev/cel/runtime/CelRuntime.java +++ b/runtime/src/main/java/dev/cel/runtime/CelRuntime.java @@ -57,11 +57,6 @@ public Object eval(Message message) throws CelEvaluationException { return evalInternal(Activation.fromProto(message, getOptions())); } - /** Evaluate a compiled program with an {@code activation} instance. */ - public Object eval(Activation activation) throws CelEvaluationException { - return evalInternal(activation); - } - /** Evaluate a compiled program with a custom variable {@code resolver}. */ public Object eval(CelVariableResolver resolver) throws CelEvaluationException { return evalInternal((name) -> resolver.find(name).orElse(null));