Polishing

This commit is contained in:
Sam Brannen 2015-11-16 01:44:16 +01:00
parent d781ac0c92
commit 59d60c60cf
2 changed files with 2 additions and 3 deletions

View File

@ -173,8 +173,8 @@ public final class MockMvc {
} }
@Override @Override
public ResultActions andDo(ResultHandler printer) throws Exception { public ResultActions andDo(ResultHandler handler) throws Exception {
printer.handle(mvcResult); handler.handle(mvcResult);
return this; return this;
} }

View File

@ -119,7 +119,6 @@ public class JavaConfigTests {
assertNotNull(parent); assertNotNull(parent);
assertTrue(parent instanceof WebApplicationContext); assertTrue(parent instanceof WebApplicationContext);
WebApplicationContext root = (WebApplicationContext) parent; WebApplicationContext root = (WebApplicationContext) parent;
assertFalse(root.getBeansOfType(String.class).containsKey("bar"));
ServletContext childServletContext = wac.getServletContext(); ServletContext childServletContext = wac.getServletContext();
assertNotNull(childServletContext); assertNotNull(childServletContext);