HHH-14755 Remove some dead code from DefaultIdentifierGeneratorFactory

This commit is contained in:
Sanne Grinovero 2021-07-27 16:21:05 +01:00 committed by Sanne Grinovero
parent 1a6924c297
commit d4ed42149b
1 changed files with 0 additions and 15 deletions

View File

@ -95,21 +95,6 @@ public class DefaultIdentifierGeneratorFactory
@Override
public void setDialect(Dialect dialect) {
// LOG.debugf( "Setting dialect [%s]", dialect );
// this.dialect = dialect;
//
// if ( dialect == jdbcEnvironment.getDialect() ) {
// LOG.debugf(
// "Call to unsupported method IdentifierGeneratorFactory#setDialect; " +
// "ignoring as passed Dialect matches internal Dialect"
// );
// }
// else {
// throw new UnsupportedOperationException(
// "Call to unsupported method IdentifierGeneratorFactory#setDialect attempting to" +
// "set a non-matching Dialect : " + dialect.getClass().getName()
// );
// }
}
@SuppressWarnings("unchecked")