Skip to content

Commit ba27c29

Browse files
committed
[SPR-5916] polishing.
1 parent a9254b3 commit ba27c29

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

org.springframework.test/src/test/java/org/springframework/test/context/junit4/AbsolutePathSpringJUnit4ClassRunnerAppCtxTests.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,21 @@
1717
package org.springframework.test.context.junit4;
1818

1919
import org.junit.runner.RunWith;
20-
2120
import org.springframework.test.context.ContextConfiguration;
2221

2322
/**
2423
* Extension of {@link SpringJUnit4ClassRunnerAppCtxTests}, which verifies that
2524
* we can specify an explicit, <em>absolute path</em> location for our
2625
* application context.
27-
*
26+
*
2827
* @author Sam Brannen
2928
* @since 2.5
3029
* @see SpringJUnit4ClassRunnerAppCtxTests
3130
* @see ClassPathResourceSpringJUnit4ClassRunnerAppCtxTests
3231
* @see RelativePathSpringJUnit4ClassRunnerAppCtxTests
3332
*/
3433
@RunWith(SpringJUnit4ClassRunner.class)
35-
@ContextConfiguration(locations = { SpringJUnit4ClassRunnerAppCtxTests.DEFAULT_CONTEXT_RESOURCE_PATH })
34+
@ContextConfiguration(locations = { SpringJUnit4ClassRunnerAppCtxTests.DEFAULT_CONTEXT_RESOURCE_PATH }, inheritLocations = false)
3635
public class AbsolutePathSpringJUnit4ClassRunnerAppCtxTests extends SpringJUnit4ClassRunnerAppCtxTests {
3736
/* all tests are in the parent class. */
3837
}

0 commit comments

Comments
 (0)