From 0ef845b96e5998ffbe3e8f4d8a17d2345eae37fd Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Sat, 17 Sep 2016 20:05:21 -0700 Subject: [PATCH] Polish --- .../autoconfigure/json/JsonTestersAutoConfiguration.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/json/JsonTestersAutoConfiguration.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/json/JsonTestersAutoConfiguration.java index 53e9da6e4d..a73c0092cf 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/json/JsonTestersAutoConfiguration.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/json/JsonTestersAutoConfiguration.java @@ -61,7 +61,7 @@ public class JsonTestersAutoConfiguration { @Bean @Scope("prototype") - public FactoryBean BasicJsonTesterFactoryBean() { + public FactoryBean basicJsonTesterFactoryBean() { return new JsonTesterFactoryBean(BasicJsonTester.class, null); } @@ -155,14 +155,14 @@ public class JsonTestersAutoConfiguration { @Override public void doWith(Field field) throws IllegalArgumentException, IllegalAccessException { - processFiled(bean, field); + processField(bean, field); } }); return bean; } - private void processFiled(Object bean, Field field) { + private void processField(Object bean, Field field) { if (AbstractJsonMarshalTester.class.isAssignableFrom(field.getType()) || BasicJsonTester.class.isAssignableFrom(field.getType())) { ResolvableType type = ResolvableType.forField(field).getGeneric();