Skip to content

Commit 4630e62

Browse files
committed
Fix formatting
1 parent 859da2f commit 4630e62

File tree

1 file changed

+19
-17
lines changed

1 file changed

+19
-17
lines changed

spring-test/src/test/java/org/springframework/test/web/servlet/samples/spr/MockMvcBuilderMethodChainTests.java

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2014 the original author or authors.
2+
* Copyright 2002-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -13,6 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16+
1617
package org.springframework.test.web.servlet.samples.spr;
1718

1819
import org.junit.Test;
@@ -41,20 +42,21 @@
4142
@ContextConfiguration
4243
public class MockMvcBuilderMethodChainTests {
4344

44-
@Autowired
45-
private WebApplicationContext wac;
46-
47-
@Test
48-
public void chainMultiple() {
49-
MockMvcBuilders
50-
.webAppContextSetup(wac)
51-
.addFilter(new CharacterEncodingFilter() )
52-
.defaultRequest(get("/").contextPath("/mywebapp"))
53-
.build();
54-
}
55-
56-
@Configuration
57-
@EnableWebMvc
58-
static class WebConfig implements WebMvcConfigurer {
59-
}
45+
@Autowired
46+
private WebApplicationContext wac;
47+
48+
@Test
49+
public void chainMultiple() {
50+
MockMvcBuilders
51+
.webAppContextSetup(wac)
52+
.addFilter(new CharacterEncodingFilter() )
53+
.defaultRequest(get("/").contextPath("/mywebapp"))
54+
.build();
55+
}
56+
57+
@Configuration
58+
@EnableWebMvc
59+
static class WebConfig implements WebMvcConfigurer {
60+
}
61+
6062
}

0 commit comments

Comments
 (0)