Skip to content

Commit 3c1956a

Browse files
author
David Saff
committed
Merge pull request #550 from coreyjv/master
Pull request for issue #157
2 parents 819f371 + fab2852 commit 3c1956a

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/main/java/org/junit/runners/BlockJUnit4ClassRunner.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -302,10 +302,7 @@ protected Statement withPotentialTimeout(FrameworkMethod method,
302302
* Returns a {@link Statement}: run all non-overridden {@code @Before}
303303
* methods on this class and superclasses before running {@code next}; if
304304
* any throws an Exception, stop execution and pass the exception on.
305-
*
306-
* @deprecated Will be private soon: use Rules instead
307305
*/
308-
@Deprecated
309306
protected Statement withBefores(FrameworkMethod method, Object target,
310307
Statement statement) {
311308
List<FrameworkMethod> befores = getTestClass().getAnnotatedMethods(
@@ -320,10 +317,7 @@ protected Statement withBefores(FrameworkMethod method, Object target,
320317
* After methods are always executed: exceptions thrown by previous steps
321318
* are combined, if necessary, with exceptions from After methods into a
322319
* {@link MultipleFailureException}.
323-
*
324-
* @deprecated Will be private soon: use Rules instead
325320
*/
326-
@Deprecated
327321
protected Statement withAfters(FrameworkMethod method, Object target,
328322
Statement statement) {
329323
List<FrameworkMethod> afters = getTestClass().getAnnotatedMethods(

0 commit comments

Comments
 (0)