diff --git a/spring-test/src/main/java/org/springframework/test/web/servlet/result/XpathResultMatchers.java b/spring-test/src/main/java/org/springframework/test/web/servlet/result/XpathResultMatchers.java index eb1ebeb5307..da4be59ac15 100644 --- a/spring-test/src/main/java/org/springframework/test/web/servlet/result/XpathResultMatchers.java +++ b/spring-test/src/main/java/org/springframework/test/web/servlet/result/XpathResultMatchers.java @@ -70,7 +70,7 @@ public class XpathResultMatchers { } /** - * Get the response encoding if explicitely defined in the response, null otherwise + * Get the response encoding if explicitly defined in the response, {code null} otherwise. */ private String getDefinedEncoding(MockHttpServletResponse response) { return response.isCharset() ? response.getCharacterEncoding() : null;