Skip to content

Commit e5b3ffd

Browse files
authored
[fix][io]Format JDBCUtils.java to make the compile success (apache#18122)
1 parent cbf5cf5 commit e5b3ffd

File tree

1 file changed

+2
-2
lines changed
  • pulsar-io/jdbc/core/src/main/java/org/apache/pulsar/io/jdbc

1 file changed

+2
-2
lines changed

pulsar-io/jdbc/core/src/main/java/org/apache/pulsar/io/jdbc/JdbcUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ public static TableDefinition getTableDefinition(
121121
TableDefinition table = TableDefinition.of(
122122
tableId, Lists.newArrayList(), Lists.newArrayList(), Lists.newArrayList());
123123

124-
keyList = keyList == null ? Collections.emptyList(): keyList;
125-
nonKeyList = nonKeyList == null ? Collections.emptyList(): nonKeyList;
124+
keyList = keyList == null ? Collections.emptyList() : keyList;
125+
nonKeyList = nonKeyList == null ? Collections.emptyList() : nonKeyList;
126126

127127
try (ResultSet rs = connection.getMetaData().getColumns(
128128
tableId.getCatalogName(),

0 commit comments

Comments
 (0)