From 8027e1f1090e01ed0eeafcea4699c86def37edbf Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Thu, 14 Jun 2018 22:48:34 +0300 Subject: [PATCH] Remove obsolete suppression of deprecation warning --- .../test/context/junit4/SpringJUnit4ClassRunner.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.java b/spring-test/src/main/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.java index f8f25d4b153..11619a9efe7 100644 --- a/spring-test/src/main/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.java +++ b/spring-test/src/main/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2017 the original author or authors. + * Copyright 2002-2018 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -365,7 +365,6 @@ public class SpringJUnit4ClassRunner extends BlockJUnit4ClassRunner { * @see #getJUnitTimeout(FrameworkMethod) */ @Override - @SuppressWarnings("deprecation") protected Statement withPotentialTimeout(FrameworkMethod frameworkMethod, Object testInstance, Statement next) { Statement statement = null; long springTimeout = getSpringTimeout(frameworkMethod);