Browse Source

Polishing

pull/25441/head
Juergen Hoeller 6 years ago
parent
commit
7474ee7041
  1. 4
      spring-context/src/test/java/org/springframework/cache/CacheReproTests.java

4
spring-context/src/test/java/org/springframework/cache/CacheReproTests.java vendored

@ -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);

Loading…
Cancel
Save