Skip to content

Commit

Permalink
Update documentation to remove a small typo
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 718516779
  • Loading branch information
java-team-github-bot authored and Error Prone Team committed Jan 23, 2025
1 parent 0cabca8 commit adba990
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
summary =
"The non-constant portion of a comparison generally comes first. For equality, prefer"
+ " e.equals(CONSTANT) if e is non-null or Objects.equals(e, CONSTANT) if e may be"
+ " null. For standard operators, prefer e <OPERATION>> CONSTANT.",
+ " null. For standard operators, prefer e <OPERATION> CONSTANT.",
severity = WARNING)
public final class YodaCondition extends BugChecker
implements BinaryTreeMatcher, MethodInvocationTreeMatcher {
Expand Down

0 comments on commit adba990

Please sign in to comment.