HHH-18153 Checkstyle fixes
This commit is contained in:
parent
a3f8addd51
commit
0c9fa65d22
|
@ -35,11 +35,13 @@ public class InformixUniqueDelegate extends SkipNullableUniqueDelegate {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getAlterTableToAddUniqueKeyCommand(UniqueKey uniqueKey, Metadata metadata,
|
public String getAlterTableToAddUniqueKeyCommand(
|
||||||
|
UniqueKey uniqueKey, Metadata metadata,
|
||||||
SqlStringGenerationContext context) {
|
SqlStringGenerationContext context) {
|
||||||
if ( uniqueKey.hasNullableColumn() || !context.isMigration() ) {
|
if ( uniqueKey.hasNullableColumn() || !context.isMigration() ) {
|
||||||
return "";
|
return "";
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
final String tableName = context.format( uniqueKey.getTable().getQualifiedTableName() );
|
final String tableName = context.format( uniqueKey.getTable().getQualifiedTableName() );
|
||||||
final String constraintName = dialect.quote( uniqueKey.getName() );
|
final String constraintName = dialect.quote( uniqueKey.getName() );
|
||||||
return dialect.getAlterTableString( tableName )
|
return dialect.getAlterTableString( tableName )
|
||||||
|
|
Loading…
Reference in New Issue