Fix typos detected by github.com/client9/misspell

(cherry picked from commit be211ceead)
This commit is contained in:
Kazuhiro Sera
2018-08-08 12:26:40 +02:00
committed by Juergen Hoeller
parent eaafcee077
commit a80f4caf37
38 changed files with 57 additions and 50 deletions

View File

@@ -204,7 +204,7 @@ public class ServletRequestDataBinderTests {
request.addParameter("test_age", "" + 50);
ServletRequestParameterPropertyValues pvs = new ServletRequestParameterPropertyValues(request);
assertTrue("Didn't fidn normal when given prefix", !pvs.contains("forname"));
assertTrue("Didn't find normal when given prefix", !pvs.contains("forname"));
assertTrue("Did treat prefix as normal when not given prefix", pvs.contains("test_forname"));
pvs = new ServletRequestParameterPropertyValues(request, "test");

View File

@@ -301,7 +301,7 @@ public class WebRequestDataBinderTests {
request.addParameter("test_age", "" + 50);
ServletRequestParameterPropertyValues pvs = new ServletRequestParameterPropertyValues(request);
assertTrue("Didn't fidn normal when given prefix", !pvs.contains("forname"));
assertTrue("Didn't find normal when given prefix", !pvs.contains("forname"));
assertTrue("Did treat prefix as normal when not given prefix", pvs.contains("test_forname"));
pvs = new ServletRequestParameterPropertyValues(request, "test");

View File

@@ -156,7 +156,7 @@ public class HtmlCharacterEntityReferencesTests {
return false;
}
catch (IOException ex) {
throw new IllegalStateException("Could not parse defintion resource: " + ex.getMessage());
throw new IllegalStateException("Could not parse definition resource: " + ex.getMessage());
}
}