Skip to content

Commit 217a3e4

Browse files
committed
annotate S2AChannelCredentials.Builder with NotThreadSafe.
1 parent f94cc10 commit 217a3e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

s2a/src/main/java/io/grpc/s2a/S2AChannelCredentials.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
* Configures gRPC to use S2A for transport security when establishing a secure channel. Only for
4040
* use on the client side of a gRPC connection.
4141
*/
42-
@NotThreadSafe
4342
public final class S2AChannelCredentials {
4443
/**
4544
* Creates a channel credentials builder for establishing an S2A-secured connection.
@@ -53,6 +52,7 @@ public static Builder createBuilder(String s2aAddress) {
5352
}
5453

5554
/** Builds an {@code S2AChannelCredentials} instance. */
55+
@NotThreadSafe
5656
public static final class Builder {
5757
private final String s2aAddress;
5858
private ObjectPool<Channel> s2aChannelPool;

0 commit comments

Comments
 (0)