diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-09-08 16:41:49 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-09-08 16:41:49 +0200 |
commit | 04454c8d4faadab0a1d071f227fc6ba8133be88a (patch) | |
tree | 79d82b9c6e301609ce18cf4d84f65a2d06e10450 /server/sonar-db-migration | |
parent | 942e46b9b3692a4c4147597c127189fa779dbfad (diff) | |
download | sonarqube-04454c8d4faadab0a1d071f227fc6ba8133be88a.tar.gz sonarqube-04454c8d4faadab0a1d071f227fc6ba8133be88a.zip |
Drop unused method SqlStatement#setBytes()
Diffstat (limited to 'server/sonar-db-migration')
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(); } |