mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-26 12:34:22 +01:00
lint issues with spotless
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user