HHH-12565 - checkstyle

This commit is contained in:
Steve Ebersole 2018-05-14 12:24:46 -05:00
parent f62cecc62b
commit e2ac4eb22f
1 changed files with 2 additions and 1 deletions

View File

@ -340,7 +340,8 @@ public abstract class AbstractEntityPersister
public String getDiscriminatorColumnReaderTemplate() { public String getDiscriminatorColumnReaderTemplate() {
if ( getEntityMetamodel().getSubclassEntityNames().size() == 1 ) { if ( getEntityMetamodel().getSubclassEntityNames().size() == 1 ) {
return getDiscriminatorSQLValue(); return getDiscriminatorSQLValue();
} else { }
else {
return Template.TEMPLATE + "." + DISCRIMINATOR_ALIAS; return Template.TEMPLATE + "." + DISCRIMINATOR_ALIAS;
} }
} }