diff options
author | zpencer <spencerfang@google.com> | 2018-05-14 11:30:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-14 11:30:06 -0700 |
commit | 21b73bbdc1e7f871573eaedc741ffca3a63a3ac5 (patch) | |
tree | ae58718d9b9f8b6a214be5fd558a2b524c95660a /testing | |
parent | 277c33c37f260a91663c38d83f53b02504e0ac53 (diff) | |
download | grpc-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.java | 2 |
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 |