8255675: Typo in java.net.HttpURLConnection
Reviewed-by: chegar
diff --git a/src/java.base/share/classes/java/net/HttpURLConnection.java b/src/java.base/share/classes/java/net/HttpURLConnection.java
index 6bfddfa..0d0e514 100644
--- a/src/java.base/share/classes/java/net/HttpURLConnection.java
+++ b/src/java.base/share/classes/java/net/HttpURLConnection.java
@@ -511,7 +511,7 @@
*/
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 @@
}
/*
- * 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);