Wrap ternary operator within parentheses as outlined in Code Style
Closes gh-25232
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user