See https://errorprone.info/bugpattern/OperatorPrecedence Change-Id: I96f2c844a7b3d9d5605122118d9420bde31ec2f0 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>tags/v5.9.0.202009080501-r
@@ -149,7 +149,7 @@ public class DirCacheEntry { | |||
toRemove = (toRemove << 7) | (b & 0x7F); | |||
} | |||
if (toRemove < 0 | |||
|| previous != null && toRemove > previous.path.length) { | |||
|| (previous != null && toRemove > previous.path.length)) { | |||
if (previous == null) { | |||
throw new IOException(MessageFormat.format( | |||
JGitText.get().DIRCCorruptLengthFirst, |