Browse Source

Remove obsolete suppression of deprecation warning

pull/1858/merge
Sam Brannen 8 years ago
parent
commit
8027e1f109
  1. 3
      spring-test/src/main/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.java

3
spring-test/src/main/java/org/springframework/test/context/junit4/SpringJUnit4ClassRunner.java

@ -1,5 +1,5 @@ @@ -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 { @@ -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);

Loading…
Cancel
Save