javadoc: update new API `@since` version (#8727)

The @since version in commits 5a3b8e2 and a2398ce were missing and incorrect respectively.
This commit is contained in:
ZHANG Dapeng 2021-11-29 10:22:32 -08:00 committed by GitHub
parent a4334eb5c3
commit cb4b91418c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public final class GoogleDefaultChannelCredentials {
/** /**
* Returns a new instance of {@link Builder}. * Returns a new instance of {@link Builder}.
* *
* @since 1.42.0 * @since 1.43.0
*/ */
public static Builder newBuilder() { public static Builder newBuilder() {
return new Builder(); return new Builder();
@ -59,7 +59,7 @@ public final class GoogleDefaultChannelCredentials {
/** /**
* Builder for {@link GoogleDefaultChannelCredentials} instances. * Builder for {@link GoogleDefaultChannelCredentials} instances.
* *
* @since 1.42.0 * @since 1.43.0
*/ */
public static final class Builder { public static final class Builder {
private CallCredentials callCredentials; private CallCredentials callCredentials;

View File

@ -413,6 +413,8 @@ public final class OkHttpChannelBuilder extends
* *
* @param tlsVersions List of tls versions. * @param tlsVersions List of tls versions.
* @param cipherSuites List of cipher suites. * @param cipherSuites List of cipher suites.
*
* @since 1.43.0
*/ */
public OkHttpChannelBuilder tlsConnectionSpec( public OkHttpChannelBuilder tlsConnectionSpec(
String[] tlsVersions, String[] cipherSuites) { String[] tlsVersions, String[] cipherSuites) {