File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
okhttp/src/test/java/okhttp3 Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16+
1617package okhttp3 ;
1718
1819import java .security .Principal ;
1920import java .security .cert .Certificate ;
2021import javax .net .ssl .SSLPeerUnverifiedException ;
2122import javax .net .ssl .SSLSession ;
2223import javax .net .ssl .SSLSessionContext ;
23- import javax .security .cert .X509Certificate ;
2424
2525/** An {@link SSLSession} that delegates all calls. */
26+ @ SuppressWarnings ("removal" )
2627public abstract class DelegatingSSLSession implements SSLSession {
2728 protected final SSLSession delegate ;
2829
@@ -78,7 +79,7 @@ public DelegatingSSLSession(SSLSession delegate) {
7879 return delegate .getLocalCertificates ();
7980 }
8081
81- @ Override public X509Certificate [] getPeerCertificateChain () throws SSLPeerUnverifiedException {
82+ @ Override public javax . security . cert . X509Certificate [] getPeerCertificateChain () throws SSLPeerUnverifiedException {
8283 return delegate .getPeerCertificateChain ();
8384 }
8485
You can’t perform that action at this time.
0 commit comments