Polishing

This commit is contained in:
Juergen Hoeller 2019-12-16 16:50:30 +01:00
parent 0711e58a5f
commit 7474ee7041
1 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ import static org.mockito.Mockito.verify;
public class CacheReproTests { public class CacheReproTests {
@Test @Test
public void spr11124MultipleAnnotations() throws Exception { public void spr11124MultipleAnnotations() {
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11124Config.class); AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11124Config.class);
Spr11124Service bean = context.getBean(Spr11124Service.class); Spr11124Service bean = context.getBean(Spr11124Service.class);
bean.single(2); bean.single(2);
@ -67,7 +67,7 @@ public class CacheReproTests {
} }
@Test @Test
public void spr11249PrimitiveVarargs() throws Exception { public void spr11249PrimitiveVarargs() {
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11249Config.class); AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11249Config.class);
Spr11249Service bean = context.getBean(Spr11249Service.class); Spr11249Service bean = context.getBean(Spr11249Service.class);
Object result = bean.doSomething("op", 2, 3); Object result = bean.doSomething("op", 2, 3);