Wrap ternary operator within parentheses as outlined in Code Style

Closes gh-25232
This commit is contained in:
GardenLee
2020-06-11 01:39:21 +09:00
committed by Sam Brannen
parent 663f2e8afd
commit e866fac8e7
4 changed files with 4 additions and 4 deletions

View File

@@ -583,7 +583,7 @@ class ConcurrentReferenceHashMapTests {
}
// For testing we want more control of the hash
this.supplementalHash = super.getHash(o);
return o == null ? 0 : o.hashCode();
return (o == null ? 0 : o.hashCode());
}
public int getSupplementalHash() {