Reformat code using Spring code formatter plugin

pull/4140/head
Phillip Webb 9 years ago
parent 6333426cbf
commit b6667e8495

@ -98,7 +98,8 @@ enum DatabaseDriver {
/** /**
* DB2 AS400 Server. * DB2 AS400 Server.
*/ */
AS400("com.ibm.as400.access.AS400JDBCDriver", "com.ibm.as400.access.AS400JDBCXADataSource"); AS400("com.ibm.as400.access.AS400JDBCDriver",
"com.ibm.as400.access.AS400JDBCXADataSource");
private final String driverClassName; private final String driverClassName;

@ -100,7 +100,8 @@ public class WebMvcProperties {
return this.throwExceptionIfNoHandlerFound; return this.throwExceptionIfNoHandlerFound;
} }
public void setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound) { public void setThrowExceptionIfNoHandlerFound(
boolean throwExceptionIfNoHandlerFound) {
this.throwExceptionIfNoHandlerFound = throwExceptionIfNoHandlerFound; this.throwExceptionIfNoHandlerFound = throwExceptionIfNoHandlerFound;
} }

@ -60,7 +60,7 @@ public class CassandraDataAutoConfigurationTests {
@Configuration @Configuration
@ComponentScan(excludeFilters = @ComponentScan.Filter(classes = { @ComponentScan(excludeFilters = @ComponentScan.Filter(classes = {
Session.class }, type = FilterType.ASSIGNABLE_TYPE) ) Session.class }, type = FilterType.ASSIGNABLE_TYPE))
static class TestExcludeConfiguration { static class TestExcludeConfiguration {
} }

@ -112,7 +112,7 @@ public class CassandraRepositoriesAutoConfigurationTests {
@Configuration @Configuration
@ComponentScan(excludeFilters = @ComponentScan.Filter(classes = { @ComponentScan(excludeFilters = @ComponentScan.Filter(classes = {
Session.class }, type = FilterType.ASSIGNABLE_TYPE) ) Session.class }, type = FilterType.ASSIGNABLE_TYPE))
static class TestExcludeConfiguration { static class TestExcludeConfiguration {
} }

@ -156,8 +156,8 @@ public class DispatcherServletAutoConfigurationTests {
"spring.mvc.throw-exception-if-no-handler-found:true"); "spring.mvc.throw-exception-if-no-handler-found:true");
this.context.refresh(); this.context.refresh();
DispatcherServlet bean = this.context.getBean(DispatcherServlet.class); DispatcherServlet bean = this.context.getBean(DispatcherServlet.class);
assertEquals(true, new DirectFieldAccessor(bean). assertEquals(true, new DirectFieldAccessor(bean)
getPropertyValue("throwExceptionIfNoHandlerFound")); .getPropertyValue("throwExceptionIfNoHandlerFound"));
} }
@Configuration @Configuration

Loading…
Cancel
Save