aboutsummaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorzpencer <spencerfang@google.com>2018-05-14 11:30:06 -0700
committerGitHub <noreply@github.com>2018-05-14 11:30:06 -0700
commit21b73bbdc1e7f871573eaedc741ffca3a63a3ac5 (patch)
treeae58718d9b9f8b6a214be5fd558a2b524c95660a /testing
parent277c33c37f260a91663c38d83f53b02504e0ac53 (diff)
downloadgrpc-grpc-java-21b73bbdc1e7f871573eaedc741ffca3a63a3ac5.tar.gz
core: partially stabilize Attributes API (#4458)
Deprecate static builder method, Keys.of(), add a notice of plans to remove keys(), emphasize that the name is only a debug label. The `@ExperimentalAPI` is left on the class because there are still issues around hashCode/equals.
Diffstat (limited to 'testing')
-rw-r--r--testing/src/main/java/io/grpc/internal/testing/AbstractTransportTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/src/main/java/io/grpc/internal/testing/AbstractTransportTest.java b/testing/src/main/java/io/grpc/internal/testing/AbstractTransportTest.java
index fd789880c..042fa304e 100644
--- a/testing/src/main/java/io/grpc/internal/testing/AbstractTransportTest.java
+++ b/testing/src/main/java/io/grpc/internal/testing/AbstractTransportTest.java
@@ -95,7 +95,7 @@ public abstract class AbstractTransportTest {
private static final int TIMEOUT_MS = 1000;
private static final Attributes.Key<String> ADDITIONAL_TRANSPORT_ATTR_KEY =
- Attributes.Key.of("additional-attr");
+ Attributes.Key.create("additional-attr");
/**
* Returns a new server that when started will be able to be connected to from the client. Each