We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed7044 commit 895cc4fCopy full SHA for 895cc4f
src/java.base/share/classes/java/net/HttpURLConnection.java
@@ -511,7 +511,7 @@ public String getRequestMethod() {
511
*/
512
public int getResponseCode() throws IOException {
513
/*
514
- * We're got the response code already
+ * We've got the response code already
515
516
if (responseCode != -1) {
517
return responseCode;
@@ -530,7 +530,7 @@ public int getResponseCode() throws IOException {
530
}
531
532
533
- * 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
534
* that getInputStream threw.
535
536
String statusLine = getHeaderField(0);
0 commit comments