From 4cd7ba12bb9eb852286563587e37f46b9a5fffc6 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 19 Mar 2016 14:39:01 +0100 Subject: [PATCH] Polishing --- .../scheduling/annotation/EnableSchedulingTests.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spring-context/src/test/java/org/springframework/scheduling/annotation/EnableSchedulingTests.java b/spring-context/src/test/java/org/springframework/scheduling/annotation/EnableSchedulingTests.java index 2d553ee7fa..c3a46c6e73 100644 --- a/spring-context/src/test/java/org/springframework/scheduling/annotation/EnableSchedulingTests.java +++ b/spring-context/src/test/java/org/springframework/scheduling/annotation/EnableSchedulingTests.java @@ -20,9 +20,7 @@ import java.util.Date; import java.util.concurrent.atomic.AtomicInteger; import org.junit.After; -import org.junit.Rule; import org.junit.Test; -import org.junit.rules.ExpectedException; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.Bean; @@ -48,9 +46,6 @@ import static org.junit.Assert.*; */ public class EnableSchedulingTests { - @Rule - public final ExpectedException exception = ExpectedException.none(); - private AnnotationConfigApplicationContext ctx;