Skip to content

Commit

Permalink
HHH-14755 Remove some dead code from DefaultIdentifierGeneratorFactory
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanne committed Jul 29, 2021
1 parent 1a6924c commit d4ed421
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,21 +95,6 @@ public Dialect getDialect() {

@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")
Expand Down

0 comments on commit d4ed421

Please sign in to comment.