aboutsummaryrefslogtreecommitdiff
path: root/context
diff options
context:
space:
mode:
authorKun Zhang <zhangkun83@users.noreply.github.com>2017-01-06 08:55:29 -0800
committerGitHub <noreply@github.com>2017-01-06 08:55:29 -0800
commitea4390cf5c44e066e1649418f69822029bb58f1e (patch)
treeceaafeb5619e7fdafba03bef395c34fe3a844f29 /context
parent8d49df28ee7639dd383a00c1b2449c18924a141f (diff)
downloadgrpc-grpc-java-ea4390cf5c44e066e1649418f69822029bb58f1e.tar.gz
context: put ContextStorageOverride in io.grpc.override. (#2570)
To make it easier to filter.
Diffstat (limited to 'context')
-rw-r--r--context/src/main/java/io/grpc/Context.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/context/src/main/java/io/grpc/Context.java b/context/src/main/java/io/grpc/Context.java
index 0f2e7fbf3..1a7ac24cc 100644
--- a/context/src/main/java/io/grpc/Context.java
+++ b/context/src/main/java/io/grpc/Context.java
@@ -128,7 +128,7 @@ public class Context {
Storage newStorage = null;
Exception error = null;
try {
- Class<?> clazz = Class.forName("io.grpc.ContextStorageOverride");
+ Class<?> clazz = Class.forName("io.grpc.override.ContextStorageOverride");
newStorage = (Storage) clazz.getConstructor().newInstance();
} catch (ClassNotFoundException e) {
log.log(Level.FINE, "Storage override doesn't exist. Using default.", e);
@@ -827,7 +827,7 @@ public class Context {
* Defines the mechanisms for attaching and detaching the "current" context.
*
* <p>The default implementation will put the current context in a {@link ThreadLocal}. If an
- * alternative implementation named {@code io.grpc.ContextStorageOverride} exists in the
+ * alternative implementation named {@code io.grpc.override.ContextStorageOverride} exists in the
* classpath, it will be used instead of the default implementation.
*
* <p>This API is <a href="https://github.com/grpc/grpc-java/issues/2462">experimental</a> and