mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-27 14:30:16 +00:00
trivial code change
logical operators have a well-defined precedence in Java
This commit is contained in:
parent
8af5c9dcb3
commit
7703648f1e
@ -36,7 +36,8 @@ public BigDecimal fromString(CharSequence string) {
|
||||
|
||||
@Override
|
||||
public boolean areEqual(BigDecimal one, BigDecimal another) {
|
||||
return one == another || ( one != null && another != null && one.compareTo( another ) == 0 );
|
||||
return one == another
|
||||
|| one != null && another != null && one.compareTo( another ) == 0;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user