aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-migration
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-08 16:41:49 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-08 16:41:49 +0200
commit04454c8d4faadab0a1d071f227fc6ba8133be88a (patch)
tree79d82b9c6e301609ce18cf4d84f65a2d06e10450 /server/sonar-db-migration
parent942e46b9b3692a4c4147597c127189fa779dbfad (diff)
downloadsonarqube-04454c8d4faadab0a1d071f227fc6ba8133be88a.tar.gz
sonarqube-04454c8d4faadab0a1d071f227fc6ba8133be88a.zip
Drop unused method SqlStatement#setBytes()
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();
}