File tree 2 files changed +6
-0
lines changed
src/main/java/com/google/api/client/util
2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 135
135
<groupId >com.google.code.findbugs</groupId >
136
136
<artifactId >jsr305</artifactId >
137
137
</dependency >
138
+ <dependency >
139
+ <groupId >com.google.errorprone</groupId >
140
+ <artifactId >error_prone_annotations</artifactId >
141
+ </dependency >
138
142
<dependency >
139
143
<groupId >com.google.guava</groupId >
140
144
<artifactId >guava</artifactId >
Original file line number Diff line number Diff line change 14
14
15
15
package com .google .api .client .util ;
16
16
17
+ import com .google .errorprone .annotations .CanIgnoreReturnValue ;
17
18
import java .security .GeneralSecurityException ;
18
19
import java .security .KeyStore ;
19
20
import java .security .NoSuchAlgorithmException ;
@@ -101,6 +102,7 @@ public static KeyManagerFactory getPkixKeyManagerFactory() throws NoSuchAlgorith
101
102
* #getPkixTrustManagerFactory()})
102
103
* @since 1.14
103
104
*/
105
+ @ CanIgnoreReturnValue
104
106
public static SSLContext initSslContext (
105
107
SSLContext sslContext , KeyStore trustStore , TrustManagerFactory trustManagerFactory )
106
108
throws GeneralSecurityException {
You can’t perform that action at this time.
0 commit comments