提交 ff92f5af 编写于 作者: R Rossen Stoyanchev

Fix typo

Issue: SPR-11241
上级 2a3ca619
...@@ -93,7 +93,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable ...@@ -93,7 +93,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable
private static final String PRAGMA = "Pragma"; private static final String PRAGMA = "Pragma";
private static final String UPGARDE = "Upgrade"; private static final String UPGRADE = "Upgrade";
private static final String[] DATE_FORMATS = new String[] { private static final String[] DATE_FORMATS = new String[] {
...@@ -547,7 +547,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable ...@@ -547,7 +547,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable
* @param upgrade the value of the header * @param upgrade the value of the header
*/ */
public void setUpgrade(String upgrade) { public void setUpgrade(String upgrade) {
set(UPGARDE, upgrade); set(UPGRADE, upgrade);
} }
/** /**
...@@ -555,7 +555,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable ...@@ -555,7 +555,7 @@ public class HttpHeaders implements MultiValueMap<String, String>, Serializable
* @return the value of the header * @return the value of the header
*/ */
public String getUpgrade() { public String getUpgrade() {
return getFirst(UPGARDE); return getFirst(UPGRADE);
} }
// Date methods // Date methods
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册