mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
lint issues with spotless
This commit is contained in:
parent
f9e95697c8
commit
76320e82db
2 changed files with 5 additions and 3 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue