8255675: Typo in java.net.HttpURLConnection
Reviewed-by: chegar
This commit is contained in:
parent
5ed704484e
commit
895cc4f0a2
@ -511,7 +511,7 @@ public abstract class HttpURLConnection extends URLConnection {
|
||||
*/
|
||||
public int getResponseCode() throws IOException {
|
||||
/*
|
||||
* We're got the response code already
|
||||
* We've got the response code already
|
||||
*/
|
||||
if (responseCode != -1) {
|
||||
return responseCode;
|
||||
@ -530,7 +530,7 @@ public abstract class HttpURLConnection extends URLConnection {
|
||||
}
|
||||
|
||||
/*
|
||||
* If we can't a status-line then re-throw any exception
|
||||
* If we can't find a status-line then re-throw any exception
|
||||
* that getInputStream threw.
|
||||
*/
|
||||
String statusLine = getHeaderField(0);
|
||||
|
Loading…
Reference in New Issue
Block a user