Skip to content

Commit

Permalink
deprecate RuleChain
Browse files Browse the repository at this point in the history
  • Loading branch information
panchenko authored and kcooney committed Aug 7, 2017
1 parent aad22b8 commit e024f83
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/junit/rules/RuleChain.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,12 @@
* .around(new LoggingRule("inner rule"));
* </pre>
*
* @deprecated Since 4.13 ordering of rules can be naturally specified with an annotation attribute.
* @see org.junit.Rule#order()
* @see org.junit.ClassRule#order()
* @since 4.10
*/
@Deprecated
public class RuleChain implements TestRule {
private static final RuleChain EMPTY_CHAIN = new RuleChain(
Collections.<TestRule>emptyList());
Expand Down

0 comments on commit e024f83

Please sign in to comment.