From c3bc125093d2491fc7e6b37968f8b06f56d890c4 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Sat, 14 Apr 2018 15:02:57 +0200 Subject: [PATCH] Suppress warning in SpringFailOnTimeoutTests --- .../test/context/junit4/spr16716/SpringFailOnTimeoutTests.java | 1 + 1 file changed, 1 insertion(+) diff --git a/spring-test/src/test/java/org/springframework/test/context/junit4/spr16716/SpringFailOnTimeoutTests.java b/spring-test/src/test/java/org/springframework/test/context/junit4/spr16716/SpringFailOnTimeoutTests.java index 05cf95fe93..2d5c059ccf 100644 --- a/spring-test/src/test/java/org/springframework/test/context/junit4/spr16716/SpringFailOnTimeoutTests.java +++ b/spring-test/src/test/java/org/springframework/test/context/junit4/spr16716/SpringFailOnTimeoutTests.java @@ -84,6 +84,7 @@ public class SpringFailOnTimeoutTests { new SpringFailOnTimeout(statement, 100).evaluate(); } + @SuppressWarnings("serial") private static class Boom extends RuntimeException { }