Skip to content

Commit 3b532a3

Browse files
committed
xds: Suppress deprecation warning in test helper
Add @SuppressWarnings("deprecation") to test helper that intentionally uses deprecated field to verify backward compatibility.
1 parent d2986a1 commit 3b532a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

xds/src/test/java/io/grpc/xds/internal/security/CommonTlsContextTestsUtil.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@ private static CommonTlsContext buildCommonTlsContextForCertProviderInstance(
233233
}
234234

235235
/** Helper method to build CommonTlsContext using deprecated certificate provider field. */
236+
@SuppressWarnings("deprecation")
236237
public static CommonTlsContext buildCommonTlsContextWithDeprecatedCertProviderInstance(
237238
String certInstanceName,
238239
String certName,

0 commit comments

Comments
 (0)