diff --git a/hibernate-core/src/main/java/org/hibernate/usertype/CompositeUserType.java b/hibernate-core/src/main/java/org/hibernate/usertype/CompositeUserType.java index cba0c3042f..84f6b5d647 100644 --- a/hibernate-core/src/main/java/org/hibernate/usertype/CompositeUserType.java +++ b/hibernate-core/src/main/java/org/hibernate/usertype/CompositeUserType.java @@ -63,7 +63,7 @@ import org.hibernate.metamodel.spi.ValueAccess; * final BigDecimal value = valueAccess.getValue(0, BigDecimal.class); * final Currency currency = valueAccess.getValue(1, Currency.class); * - * if ( value == null && currency == null ) { + * if ( value == null && currency == null ) { * return null; * } * return new MonetaryAmount( value, currency );