mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-10 23:18:45 +00:00
8038821: Fix typos in java.net
Co-authored-by: Ivan Gerasimov <ivan.gerasimov@oracle.com> Reviewed-by: wetmore
This commit is contained in:
parent
ce428ecfec
commit
6b404cfdfe
@ -448,7 +448,7 @@ class DatagramSocket implements java.io.Closeable {
|
||||
*
|
||||
* <p> If given an {@link InetSocketAddress InetSocketAddress}, this method
|
||||
* behaves as if invoking {@link #connect(InetAddress,int) connect(InetAddress,int)}
|
||||
* with the the given socket addresses IP address and port number.
|
||||
* with the given socket addresses IP address and port number.
|
||||
*
|
||||
* @param addr The remote address.
|
||||
*
|
||||
|
||||
@ -74,7 +74,7 @@ public final class HttpCookie implements Cloneable {
|
||||
private boolean httpOnly; // HttpOnly ... i.e. not accessible to scripts
|
||||
private int version = 1; // Version=1 ... RFC 2965 style
|
||||
|
||||
// The original header this cookie was consructed from, if it was
|
||||
// The original header this cookie was constructed from, if it was
|
||||
// constructed by parsing a header, otherwise null.
|
||||
private final String header;
|
||||
|
||||
@ -985,7 +985,7 @@ public final class HttpCookie implements Cloneable {
|
||||
}
|
||||
|
||||
/*
|
||||
* Returns the original header this cookie was consructed from, if it was
|
||||
* Returns the original header this cookie was constructed from, if it was
|
||||
* constructed by parsing a header, otherwise null.
|
||||
*/
|
||||
private String header() {
|
||||
|
||||
@ -159,7 +159,7 @@ import sun.net.spi.nameservice.*;
|
||||
* <dl>
|
||||
* <dt><b>networkaddress.cache.ttl</b></dt>
|
||||
* <dd>Indicates the caching policy for successful name lookups from
|
||||
* the name service. The value is specified as as integer to indicate
|
||||
* the name service. The value is specified as an integer to indicate
|
||||
* the number of seconds to cache the successful lookup. The default
|
||||
* setting is to cache for an implementation specific period of time.
|
||||
* <p>
|
||||
@ -167,7 +167,7 @@ import sun.net.spi.nameservice.*;
|
||||
* </dd>
|
||||
* <dt><b>networkaddress.cache.negative.ttl</b> (default: 10)</dt>
|
||||
* <dd>Indicates the caching policy for un-successful name lookups
|
||||
* from the name service. The value is specified as as integer to
|
||||
* from the name service. The value is specified as an integer to
|
||||
* indicate the number of seconds to cache the failure for
|
||||
* un-successful lookups.
|
||||
* <p>
|
||||
|
||||
@ -36,7 +36,7 @@ public interface JavaNetHttpCookieAccess {
|
||||
public List<HttpCookie> parse(String header);
|
||||
|
||||
/*
|
||||
* Returns the original header this cookie was consructed from, if it was
|
||||
* Returns the original header this cookie was constructed from, if it was
|
||||
* constructed by parsing a header, otherwise null.
|
||||
*/
|
||||
public String header(HttpCookie cookie);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user