Skip to content

Commit

Permalink
Copy a key line from the @Rule Javadoc to[]
Browse files Browse the repository at this point in the history
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Jul 29, 2024
1 parent 8e39783 commit d088622
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@
@BugPattern(
tags = {StandardTags.REFACTORING},
summary =
"Prefer using `@Rule` with an explicit order over declaring a `RuleChain`. "
+ "RuleChain was the only way to declare ordered rules before JUnit 4.13. Newer "
+ "versions should use the cleaner individual `@Rule(order = n)` option.",
"Prefer using `@Rule` with an explicit order over declaring a `RuleChain`. RuleChain was"
+ " the only way to declare ordered rules before JUnit 4.13. Newer versions should use"
+ " the cleaner individual `@Rule(order = n)` option. The rules with a higher value are"
+ " inner.",
severity = WARNING)
public class DoNotUseRuleChain extends BugChecker implements VariableTreeMatcher {

Expand Down

0 comments on commit d088622

Please sign in to comment.