aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-db-migration')
-rw-r--r--server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/BaseSqlStatement.java6
-rw-r--r--server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/SqlStatement.java2
2 files changed, 0 insertions, 8 deletions
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/BaseSqlStatement.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/BaseSqlStatement.java
index 1e9b80b3712..6444617dc6e 100644
--- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/BaseSqlStatement.java
+++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/BaseSqlStatement.java
@@ -47,12 +47,6 @@ class BaseSqlStatement<CHILD extends SqlStatement> implements SqlStatement<CHILD
}
@Override
- public CHILD setBytes(int columnIndex, @Nullable byte[] value) throws SQLException {
- pstmt.setBytes(columnIndex, value);
- return (CHILD) this;
- }
-
- @Override
public CHILD setInt(int columnIndex, @Nullable Integer value) throws SQLException {
if (value == null) {
pstmt.setNull(columnIndex, Types.INTEGER);
diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/SqlStatement.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/SqlStatement.java
index 731b2ff9ac3..f9628f7c658 100644
--- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/SqlStatement.java
+++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/SqlStatement.java
@@ -36,8 +36,6 @@ public interface SqlStatement<CHILD extends SqlStatement> extends AutoCloseable
CHILD setString(int columnIndex, @Nullable String value) throws SQLException;
- CHILD setBytes(int columnIndex, @Nullable byte[] data) throws SQLException;
-
@Override
void close();
}