Remove obsolete suppression of deprecation warning

This commit is contained in:
Sam Brannen 2018-06-14 22:48:34 +03:00
parent 4ae4788e93
commit 8027e1f109
1 changed files with 1 additions and 2 deletions

View File

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