Fix typos detected by github.com/client9/misspell
This commit is contained in:
committed by
Juergen Hoeller
parent
896eb5687a
commit
be211ceead
@@ -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");
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user