Skip to content

Commit

Permalink
dbeaver#22963 Code style: insert space before open parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
longhaseng52 committed May 15, 2024
1 parent 829c72f commit 9666b8a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public JDBCStatement prepareUniqueConstraintsLoadStatement(
+ (table.getDataSource().getSupportMultiSchema() ? "and t1.owner_name = ?" : "");
final JDBCPreparedStatement dbStat = session.prepareStatement(sql);
dbStat.setString(1, table.getName());
if(table.getDataSource().getSupportMultiSchema()) {
if (table.getDataSource().getSupportMultiSchema()) {
dbStat.setString(2, table.getSchema().getName());
}
return dbStat;
Expand All @@ -179,7 +179,7 @@ public GenericTableConstraintColumn[] createConstraintColumnsImpl(
@Override
public DBSEntityConstraintType getUniqueConstraintType(@NotNull JDBCResultSet dbResult) throws DBException {
String isPrimary = JDBCUtils.safeGetString(dbResult, "is_primary_key");
if(isPrimary.equals("YES")) {
if (isPrimary.equals("YES")) {
return DBSEntityConstraintType.PRIMARY_KEY;
} else {
return DBSEntityConstraintType.UNIQUE_KEY;
Expand Down

0 comments on commit 9666b8a

Please sign in to comment.