lint issues with spotless

This commit is contained in:
kimminseok
2025-10-09 11:19:29 +09:00
parent f9e95697c8
commit 76320e82db
2 changed files with 5 additions and 3 deletions

View File

@@ -372,7 +372,7 @@ public final class JDBC4ResultSet implements ResultSet, ResultSetMetaData {
if (columnLabel == null || columnLabel.isEmpty()) {
throw new SQLException("column name not found");
}
final String[] columnNames = resultSet.getColumnNames();
for (int i = 0; i < columnNames.length; i++) {
if (columnNames[i].equals(columnLabel)) {

View File

@@ -827,7 +827,8 @@ class JDBC4ResultSetTest {
for (byte b : timeBytes) {
hexString.append(String.format("%02X", b));
}
stmt.executeUpdate("INSERT INTO test_timestamp_cal (timestamp_col) VALUES (X'" + hexString + "');");
stmt.executeUpdate(
"INSERT INTO test_timestamp_cal (timestamp_col) VALUES (X'" + hexString + "');");
ResultSet resultSet = stmt.executeQuery("SELECT * FROM test_timestamp_cal");
assertTrue(resultSet.next());
@@ -857,7 +858,8 @@ class JDBC4ResultSetTest {
for (byte b : timeBytes) {
hexString.append(String.format("%02X", b));
}
stmt.executeUpdate("INSERT INTO test_timestamp_cal (created_at) VALUES (X'" + hexString + "');");
stmt.executeUpdate(
"INSERT INTO test_timestamp_cal (created_at) VALUES (X'" + hexString + "');");
ResultSet resultSet = stmt.executeQuery("SELECT * FROM test_timestamp_cal");
assertTrue(resultSet.next());