]> source.dussan.org Git - jgit.git/commit
[errorprone] RawText: Add parenthesis for explicit op precedence 48/1204048/1
authorIvan Frade <ifrade@google.com>
Thu, 14 Nov 2024 00:11:17 +0000 (16:11 -0800)
committerIvan Frade <ifrade@google.com>
Thu, 14 Nov 2024 00:11:17 +0000 (16:11 -0800)
commit13a1ce7466eb620773930f1d485cb9b31c6bda2c
treebd8fbbc2d90228f251ea21f7448a9a9c94fad50f
parent1c326c4e07b1023ef17961661ed6e4f29ffeeee8
[errorprone] RawText: Add parenthesis for explicit op precedence

errorprone reports:

[OperatorPrecedence] Use grouping parenthesis to make the
operator precedence explicit

Take the chance to fix also
https://errorprone.info/bugpattern/YodaCondition in the same lines.

Change-Id: I6d8f00842ef2bb24cd00fc413121b8a4e20c186b
org.eclipse.jgit/src/org/eclipse/jgit/diff/RawText.java