@ -98,7 +98,8 @@ enum DatabaseDriver {
/**
* 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;
@ -100,7 +100,8 @@ public class WebMvcProperties {
return this.throwExceptionIfNoHandlerFound;
}
public void setThrowExceptionIfNoHandlerFound(boolean throwExceptionIfNoHandlerFound) {
public void setThrowExceptionIfNoHandlerFound(
boolean throwExceptionIfNoHandlerFound) {
this.throwExceptionIfNoHandlerFound = throwExceptionIfNoHandlerFound;
@ -60,7 +60,7 @@ public class CassandraDataAutoConfigurationTests {
@Configuration
@ComponentScan(excludeFilters = @ComponentScan.Filter(classes = {
Session.class }, type = FilterType.ASSIGNABLE_TYPE) )
Session.class }, type = FilterType.ASSIGNABLE_TYPE))
static class TestExcludeConfiguration {
@ -112,7 +112,7 @@ public class CassandraRepositoriesAutoConfigurationTests {
@ -156,8 +156,8 @@ public class DispatcherServletAutoConfigurationTests {
"spring.mvc.throw-exception-if-no-handler-found:true");
this.context.refresh();
DispatcherServlet bean = this.context.getBean(DispatcherServlet.class);
assertEquals(true, new DirectFieldAccessor(bean).
getPropertyValue("throwExceptionIfNoHandlerFound"));
assertEquals(true, new DirectFieldAccessor(bean)
.getPropertyValue("throwExceptionIfNoHandlerFound"));