File tree 1 file changed +3
-2
lines changed
okhttp/src/test/java/okhttp3
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 13
13
* See the License for the specific language governing permissions and
14
14
* limitations under the License.
15
15
*/
16
+
16
17
package okhttp3 ;
17
18
18
19
import java .security .Principal ;
19
20
import java .security .cert .Certificate ;
20
21
import javax .net .ssl .SSLPeerUnverifiedException ;
21
22
import javax .net .ssl .SSLSession ;
22
23
import javax .net .ssl .SSLSessionContext ;
23
- import javax .security .cert .X509Certificate ;
24
24
25
25
/** An {@link SSLSession} that delegates all calls. */
26
+ @ SuppressWarnings ("removal" )
26
27
public abstract class DelegatingSSLSession implements SSLSession {
27
28
protected final SSLSession delegate ;
28
29
@@ -78,7 +79,7 @@ public DelegatingSSLSession(SSLSession delegate) {
78
79
return delegate .getLocalCertificates ();
79
80
}
80
81
81
- @ Override public X509Certificate [] getPeerCertificateChain () throws SSLPeerUnverifiedException {
82
+ @ Override public javax . security . cert . X509Certificate [] getPeerCertificateChain () throws SSLPeerUnverifiedException {
82
83
return delegate .getPeerCertificateChain ();
83
84
}
84
85
You can’t perform that action at this time.
0 commit comments