HHH-10956 put one line if in {}
This commit is contained in:
parent
8b7903dfc4
commit
013d528916
|
@ -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