File tree Expand file tree Collapse file tree
xds/src/main/java/io/grpc/xds/orca Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616
1717package io .grpc .xds .orca ;
1818
19- import static com .google .common .base .Preconditions .checkNotNull ;
20-
2119import com .github .xds .data .orca .v3 .OrcaLoadReport ;
2220import com .google .common .annotations .VisibleForTesting ;
2321import io .grpc .Context ;
@@ -62,8 +60,8 @@ public final class OrcaMetricReportingServerInterceptor implements ServerInterce
6260 private final MetricRecorder metricRecorder ;
6361
6462 @ VisibleForTesting
65- OrcaMetricReportingServerInterceptor (MetricRecorder metricRecorder ) {
66- this .metricRecorder = checkNotNull ( metricRecorder , "metricRecorder" ) ;
63+ OrcaMetricReportingServerInterceptor (@ Nullable MetricRecorder metricRecorder ) {
64+ this .metricRecorder = metricRecorder ;
6765 }
6866
6967 public static OrcaMetricReportingServerInterceptor getInstance () {
You can’t perform that action at this time.
0 commit comments