Skip to content

Commit

Permalink
Merge pull request spring-projects#5384 from izeye/polish-20160310
Browse files Browse the repository at this point in the history
* pr/5384:
  Polish
  • Loading branch information
snicoll committed Mar 10, 2016
2 parents b8dc4e7 + 1d02184 commit a508864
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
*
* @author Andy Wilkinson
*/
class ValidationExceptionFailureAnalzer
class ValidationExceptionFailureAnalyzer
extends AbstractFailureAnalyzer<ValidationException> {

private static final String MISSING_IMPLEMENTATION_MESSAGE = "Unable to create a "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public String getCommitId() {
}

/**
* Return the abbreviated id of the commit oir {@code null}.
* Return the abbreviated id of the commit or {@code null}.
* @return the short commit id
*/
public String getShortCommitId() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,17 @@ public final T deserialize(JsonParser jp, DeserializationContext ctxt)

/**
* Deserialize JSON content into the value type this serializer handles.
* @param jasonParser the source parser used for reading JSON content
* @param jsonParser the source parser used for reading JSON content
* @param context Context that can be used to access information about this
* deserialization activity
* @param codec the {@link ObjectCodec} associated with the parser
* @param tree deserialized JSON content as tree expressed using set of
* {@link TreeNode} instances
* @return the dserialized object
* @return the deserialized object
* @throws IOException on error
* @see #deserialize(JsonParser, DeserializationContext)
*/
protected abstract T deserializeObject(JsonParser jasonParser,
protected abstract T deserializeObject(JsonParser jsonParser,
DeserializationContext context, ObjectCodec codec, JsonNode tree)
throws IOException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class DelegatingFilterProxyRegistrationBeanTests
extends AbstractFilterRegistrationBeanTests {

private WebApplicationContext applicationContext = new GenericWebApplicationContext(
new MockServletContext());;
new MockServletContext());

@Test
public void targetBeanNameMustNotBeNull() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
import static org.junit.Assert.fail;

/**
* Tests for {@link ValidationExceptionFailureAnalzer}
* Tests for {@link ValidationExceptionFailureAnalyzer}
*
* @author Andy Wilkinson
*/
Expand All @@ -45,7 +45,7 @@ public void test() throws Exception {
fail("Expected failure did not occur");
}
catch (Exception ex) {
FailureAnalysis analysis = new ValidationExceptionFailureAnalzer()
FailureAnalysis analysis = new ValidationExceptionFailureAnalyzer()
.analyze(ex);
assertThat(analysis).isNotNull();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ public void getRequiredNodeWhenNodeIsFoundShouldReturnNode() throws Exception {
static class TestJsonObjectDeserializer<T> extends JsonObjectDeserializer<T> {

@Override
protected T deserializeObject(JsonParser jasonParser,
protected T deserializeObject(JsonParser jsonParser,
DeserializationContext context, ObjectCodec codec, JsonNode tree)
throws IOException {
return null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected void serializeObject(NameAndAge value, JsonGenerator jgen,
public static class Deserializer extends JsonObjectDeserializer<NameAndAge> {

@Override
protected NameAndAge deserializeObject(JsonParser jasonParser,
protected NameAndAge deserializeObject(JsonParser jsonParser,
DeserializationContext context, ObjectCodec codec, JsonNode tree)
throws IOException {
String name = nullSafeValue(tree.get("name"), String.class);
Expand Down

0 comments on commit a508864

Please sign in to comment.