HHH-10956 put one line if in {}
This commit is contained in:
parent
e37a8da568
commit
42b38b60cf
|
@ -376,7 +376,9 @@ public abstract class AbstractEntityTuplizer implements EntityTuplizer {
|
|||
final String name = names[i];
|
||||
final Property p = ((Component) identifier).getProperty(name);
|
||||
final SimpleValue v = (SimpleValue) p.getValue();
|
||||
if ( v.getIdentifierGenerator() == null ) throw new NullPointerException("No IdentifierGenerator found for property "+name);
|
||||
if ( v.getIdentifierGenerator() == null ) {
|
||||
throw new NullPointerException("No IdentifierGenerator found for property "+name);
|
||||
}
|
||||
}
|
||||
catch (Throwable t) {
|
||||
throw new HibernateException( "No part of a composite identifier may be null", t );
|
||||
|
|
Loading…
Reference in New Issue