HHH-14755 Remove some dead code from DefaultIdentifierGeneratorFactory
This commit is contained in:
parent
1a6924c297
commit
d4ed42149b
|
@ -95,21 +95,6 @@ public class DefaultIdentifierGeneratorFactory
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setDialect(Dialect dialect) {
|
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")
|
@SuppressWarnings("unchecked")
|
||||||
|
|
Loading…
Reference in New Issue