8284893: Fix typos in java.base

Reviewed-by: iris, wetmore, lancea, mullan, naoto
This commit is contained in:
Magnus Ihse Bursie 2022-04-19 20:07:57 +00:00
parent 4594696f54
commit fb469fb894
162 changed files with 369 additions and 369 deletions

View file

@ -213,7 +213,7 @@ public abstract class SocketFactory
/**
* Creates a socket and connect it to the specified remote address
* on the specified remote port. The socket will also be bound
* to the local address and port suplied. The socket is configured using
* to the local address and port supplied. The socket is configured using
* the socket options established for this factory.
* <p>
* If there is a security manager, its <code>checkConnect</code>

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1999, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1999, 2022, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -129,7 +129,7 @@ public abstract class HttpsURLConnection extends HttpURLConnection {
* such as Kerberos.
*
* @return the server's principal. Returns an X500Principal of the
* end-entity certiticate for X509-based cipher suites, and
* end-entity certificate for X509-based cipher suites, and
* KerberosPrincipal for Kerberos cipher suites.
*
* @throws SSLPeerUnverifiedException if the peer was not verified