Skip to content

Commit 0ddd42c

Browse files
committed
Fixes.
1 parent 94172de commit 0ddd42c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

netty/BUILD.bazel

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ java_library(
1212
deps = [
1313
"//api",
1414
"//core:internal",
15+
"//util",
1516
artifact("com.google.code.findbugs:jsr305"),
1617
artifact("com.google.errorprone:error_prone_annotations"),
1718
artifact("com.google.guava:guava"),

netty/src/main/java/io/grpc/netty/ProtocolNegotiators.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ public SSLSessionContext getSessionContext() {
13301330
}
13311331

13321332
@Override
1333+
@SuppressWarnings("deprecation")
13331334
public javax.security.cert.X509Certificate[] getPeerCertificateChain() {
13341335
throw new UnsupportedOperationException("This method is deprecated and marked for removal. "
13351336
+ "Use the getPeerCertificates() method instead.");

0 commit comments

Comments
 (0)