Skip to content

Commit 7cd0d73

Browse files
l46kokcopybara-github
authored andcommitted
Remove eval overload that accepts an Activation
PiperOrigin-RevId: 584200754
1 parent ee4b80f commit 7cd0d73

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

runtime/src/main/java/dev/cel/runtime/CelRuntime.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@ public Object eval(Message message) throws CelEvaluationException {
5757
return evalInternal(Activation.fromProto(message, getOptions()));
5858
}
5959

60-
/** Evaluate a compiled program with an {@code activation} instance. */
61-
public Object eval(Activation activation) throws CelEvaluationException {
62-
return evalInternal(activation);
63-
}
64-
6560
/** Evaluate a compiled program with a custom variable {@code resolver}. */
6661
public Object eval(CelVariableResolver resolver) throws CelEvaluationException {
6762
return evalInternal((name) -> resolver.find(name).orElse(null));

0 commit comments

Comments
 (0)