]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-8183 fix quality flaws on BackendCleanup
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 28 Sep 2016 16:31:43 +0000 (18:31 +0200)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 29 Sep 2016 06:58:21 +0000 (08:58 +0200)
server/sonar-server/src/main/java/org/sonar/server/platform/BackendCleanup.java

index 3d7dc3ca34ac0830e24d4a7419924fd456305cc1..2fc63bbb302b28d99615c870b4e8f4eead4459a2 100644 (file)
@@ -170,6 +170,7 @@ public class BackendCleanup {
     BulkIndexer.delete(esClient, indexName, esClient.prepareSearch(indexName).setQuery(matchAllQuery()));
   }
 
+  @FunctionalInterface
   private interface TableCleaner {
     void clean(String tableName, Statement ddlStatement, Connection connection) throws SQLException;
   }