Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 07b5d82

Browse filesBrowse files
authored
[4.x] Suppress removed (#7953)
1 parent 91565f7 commit 07b5d82
Copy full SHA for 07b5d82

File tree

Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-2
lines changed

‎okhttp/src/test/java/okhttp3/DelegatingSSLSession.java

Copy file name to clipboardExpand all lines: okhttp/src/test/java/okhttp3/DelegatingSSLSession.java
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package okhttp3;
1718

1819
import java.security.Principal;
1920
import java.security.cert.Certificate;
2021
import javax.net.ssl.SSLPeerUnverifiedException;
2122
import javax.net.ssl.SSLSession;
2223
import javax.net.ssl.SSLSessionContext;
23-
import javax.security.cert.X509Certificate;
2424

2525
/** An {@link SSLSession} that delegates all calls. */
26+
@SuppressWarnings("removal")
2627
public 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

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.