HHH-17053 Fix wrong order in comments

This commit is contained in:
aisensiy 2023-09-08 18:45:22 +08:00 committed by Christian Beikov
parent 9e4a56c651
commit 263e024629
1 changed files with 2 additions and 2 deletions

View File

@ -60,8 +60,8 @@ import org.hibernate.metamodel.spi.ValueAccess;
* *
* @Override * @Override
* public MonetaryAmount instantiate(ValueAccess valueAccess, SessionFactoryImplementor sessionFactory) { * public MonetaryAmount instantiate(ValueAccess valueAccess, SessionFactoryImplementor sessionFactory) {
* final BigDecimal value = valueAccess.getValue(0, BigDecimal.class); * final Currency currency = valueAccess.getValue(0, Currency.class);
* final Currency currency = valueAccess.getValue(1, Currency.class); * final BigDecimal value = valueAccess.getValue(1, BigDecimal.class);
* *
* if ( value == null && currency == null ) { * if ( value == null && currency == null ) {
* return null; * return null;