]> source.dussan.org Git - sonarqube.git/commitdiff
Drop unused method SqlStatement#setBytes()
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 8 Sep 2017 14:41:49 +0000 (16:41 +0200)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Fri, 8 Sep 2017 14:41:49 +0000 (16:41 +0200)
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/BaseSqlStatement.java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/SqlStatement.java

index 1e9b80b3712c46a6676aaa9e53c564d2b45fcf4d..6444617dc6e5549914895782dd4379cb28c16a4a 100644 (file)
@@ -46,12 +46,6 @@ class BaseSqlStatement<CHILD extends SqlStatement> implements SqlStatement<CHILD
     return (CHILD) this;
   }
 
-  @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) {
index 731b2ff9ac32853e5d17f3664b5b65b85a08c55f..f9628f7c658ba877bbdddf8519f413e3522c2aba 100644 (file)
@@ -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();
 }