remove tabs making checkstyle fail
-
package com.quorum.tessera.data.migration;
import java.io.IOException;
@@ -20,7 +19,6 @@ public class SqliteDataExporter implements DataExporter {
try (Connection conn = DriverManager.getConnection(connectionString)) {
-
try (Statement stmt = conn.createStatement()) {
stmt.executeUpdate("CREATE TABLE ENCRYPTED_TRANSACTION "
@@ -32,16 +30,7 @@ public class SqliteDataExporter implements DataExporter {
stmt.execute("CREATE TABLE SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT NUMBER(19), PRIMARY KEY (SEQ_NAME))");
stmt.execute("INSERT INTO SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('ENC_TX_SEQ', 0)");
-
}
-/*
-UPDATE SEQUENCE SET SEQ_COUNT = SEQ_COUNT + ? WHERE SEQ_NAME = ?
- bind => [50, ENC_TX_SEQ]
-SELECT SEQ_COUNT FROM SEQUENCE WHERE SEQ_NAME = ?
-
- */
-
-
try (PreparedStatement insertStatement = conn.prepareStatement("INSERT INTO ENCRYPTED_TRANSACTION "
+ "(ID,HASH,ENCODED_PAYLOAD) "
@@ -56,6 +45,4 @@ SELECT SEQ_COUNT FROM SEQUENCE WHERE SEQ_NAME = ?
}
}
-
-
}
