mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-28 16:50:10 +00:00
8215912: Various Typos in java.net Method Documentation
Reviewed-by: coffeys
This commit is contained in:
parent
5d8b0c4814
commit
edb879df0d
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2019, 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
|
||||
@ -531,7 +531,7 @@ class InetAddress implements java.io.Serializable {
|
||||
* @param timeout the time, in milliseconds, before the call aborts
|
||||
* @throws IllegalArgumentException if either {@code timeout}
|
||||
* or {@code ttl} are negative.
|
||||
* @return a {@code boolean}indicating if the address is reachable.
|
||||
* @return a {@code boolean} indicating if the address is reachable.
|
||||
* @throws IOException if a network error occurs
|
||||
* @since 1.5
|
||||
*/
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2019, 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
|
||||
@ -1102,7 +1102,7 @@ class Socket implements java.io.Closeable {
|
||||
* Tests if {@link SocketOptions#SO_OOBINLINE SO_OOBINLINE} is enabled.
|
||||
*
|
||||
* @return a {@code boolean} indicating whether or not
|
||||
* {@link SocketOptions#SO_OOBINLINE SO_OOBINLINE}is enabled.
|
||||
* {@link SocketOptions#SO_OOBINLINE SO_OOBINLINE} is enabled.
|
||||
*
|
||||
* @exception SocketException if there is an error
|
||||
* in the underlying protocol, such as a TCP error.
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 2017, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1995, 2019, 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
|
||||
@ -681,7 +681,7 @@ public abstract class URLConnection {
|
||||
/**
|
||||
* Returns the value for the {@code n}<sup>th</sup> header field.
|
||||
* It returns {@code null} if there are fewer than
|
||||
* {@code n+1}fields.
|
||||
* {@code n+1} fields.
|
||||
* <p>
|
||||
* This method can be used in conjunction with the
|
||||
* {@link #getHeaderFieldKey(int) getHeaderFieldKey} method to iterate through all
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user