Skip to content

Commit 897b1ba

Browse files
committed
fix lint
1 parent b787b89 commit 897b1ba

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

  • google-api-client/src/main/java/com/google/api/client/googleapis

‎google-api-client/src/main/java/com/google/api/client/googleapis/GoogleUtils.java‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,11 @@ static KeyStore getJdkDefaultKeyStore() throws IOException, GeneralSecurityExcep
140140
* available, it falls back to loading the bundled Google certificate store.
141141
*
142142
* @since 1.14
143-
* @deprecated Depending on your build environment this method potentially can contain outdated certs if loading jdk default certs fails.
144-
* Instead of getting trusted certs directly use an HttpTransport wrapper such as {@link <a href="https://docs.cloud.google.com/java/docs/reference/google-http-client/latest/com.google.api.client.http.javanet.NetHttpTransport">NetHttpTransport</a>} which use java jdk private classes to load default jdk certs specifically for your build environment. If you need to access the keystore directly please create your own keystore file.
143+
* @deprecated Depending on your build environment this method potentially can contain outdated
144+
* certs if loading jdk default certs fails.
145+
* Instead of getting trusted certs directly use an HttpTransport wrapper such as {@link <a href="https://docs.cloud.google.com/java/docs/reference/google-http-client/latest/com.google.api.client.http.javanet.NetHttpTransport">NetHttpTransport</a>}
146+
* which uses java jdk internal classes to load default jdk certs specifically for your build environment.
147+
* If you need to access the keystore directly please create your own keystore file.
145148
*/
146149
@Deprecated
147150
public static synchronized KeyStore getCertificateTrustStore()

0 commit comments

Comments
 (0)