File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
runtime/src/main/java/dev/cel/runtime Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -61,15 +61,13 @@ java_library(
6161 "//common" ,
6262 "//common:error_codes" ,
6363 "//common:options" ,
64- "//common:proto_ast" ,
6564 "//common:runtime_exception" ,
6665 "//common/annotations" ,
6766 "//common/internal:comparison_functions" ,
6867 "//common/internal:default_message_factory" ,
6968 "//common/internal:dynamic_proto" ,
7069 "//common/internal:safe_string_formatter" ,
7170 "//runtime:runtime_helper" ,
72- "@cel_spec//proto/cel/expr:expr_java_proto" ,
7371 "@maven//:com_google_code_findbugs_annotations" ,
7472 "@maven//:com_google_errorprone_error_prone_annotations" ,
7573 "@maven//:com_google_guava_guava" ,
Original file line number Diff line number Diff line change 1414
1515package dev .cel .runtime ;
1616
17- import dev .cel .expr .CheckedExpr ;
1817import com .google .common .base .Preconditions ;
1918import com .google .common .collect .ImmutableMap ;
2019import com .google .errorprone .annotations .Immutable ;
2120import dev .cel .common .CelAbstractSyntaxTree ;
22- import dev .cel .common .CelProtoAbstractSyntaxTree ;
2321import dev .cel .common .annotations .Internal ;
2422
2523/**
26- * Metadata implementation based on {@link CheckedExpr }.
24+ * Metadata implementation based on {@link CelAbstractSyntaxTree }.
2725 *
2826 * <p>CEL Library Internals. Do Not Use.
2927 */
@@ -37,11 +35,6 @@ public DefaultMetadata(CelAbstractSyntaxTree ast) {
3735 this .ast = Preconditions .checkNotNull (ast );
3836 }
3937
40- @ Deprecated
41- public DefaultMetadata (CheckedExpr checkedExpr ) {
42- this (CelProtoAbstractSyntaxTree .fromCheckedExpr (checkedExpr ).getAst ());
43- }
44-
4538 @ Override
4639 public String getLocation () {
4740 return ast .getSource ().getDescription ();
You can’t perform that action at this time.
0 commit comments