aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorKun Zhang <zhangkun83@users.noreply.github.com>2018-08-03 09:16:29 -0700
committerGitHub <noreply@github.com>2018-08-03 09:16:29 -0700
commit2aa02fd86930ec3bb7220e3ab61975d9f3d9b496 (patch)
tree7f5bf356960c067fbbf7441395cf9c4bd41cf753 /core
parent9895e243b1651d03a561e75ec7dd4fd8f16cc49f (diff)
downloadgrpc-grpc-java-2aa02fd86930ec3bb7220e3ab61975d9f3d9b496.tar.gz
core: remove unused fullMethodName field from CensusStatsModule. (#4731)
Diffstat (limited to 'core')
-rw-r--r--core/src/main/java/io/grpc/internal/CensusStatsModule.java6
1 files changed, 0 insertions, 6 deletions
diff --git a/core/src/main/java/io/grpc/internal/CensusStatsModule.java b/core/src/main/java/io/grpc/internal/CensusStatsModule.java
index 298655307..c107ea9cf 100644
--- a/core/src/main/java/io/grpc/internal/CensusStatsModule.java
+++ b/core/src/main/java/io/grpc/internal/CensusStatsModule.java
@@ -310,7 +310,6 @@ public final class CensusStatsModule {
}
private final CensusStatsModule module;
- private final String fullMethodName;
private final Stopwatch stopwatch;
private volatile ClientTracer streamTracer;
private volatile int callEnded;
@@ -325,7 +324,6 @@ public final class CensusStatsModule {
boolean recordStartedRpcs,
boolean recordFinishedRpcs) {
this.module = module;
- this.fullMethodName = checkNotNull(fullMethodName, "fullMethodName");
this.parentCtx = checkNotNull(parentCtx);
this.startCtx =
module.tagger.toBuilder(parentCtx)
@@ -475,7 +473,6 @@ public final class CensusStatsModule {
}
private final CensusStatsModule module;
- private final String fullMethodName;
private final TagContext parentCtx;
private volatile int streamClosed;
private final Stopwatch stopwatch;
@@ -490,14 +487,12 @@ public final class CensusStatsModule {
ServerTracer(
CensusStatsModule module,
- String fullMethodName,
TagContext parentCtx,
Supplier<Stopwatch> stopwatchSupplier,
Tagger tagger,
boolean recordStartedRpcs,
boolean recordFinishedRpcs) {
this.module = module;
- this.fullMethodName = checkNotNull(fullMethodName, "fullMethodName");
this.parentCtx = checkNotNull(parentCtx, "parentCtx");
this.stopwatch = stopwatchSupplier.get().start();
this.tagger = tagger;
@@ -644,7 +639,6 @@ public final class CensusStatsModule {
.build();
return new ServerTracer(
CensusStatsModule.this,
- fullMethodName,
parentCtx,
stopwatchSupplier,
tagger,