From 4b1381a61ba141ee45dec4a4c3b8fac44201d031 Mon Sep 17 00:00:00 2001 From: =?utf8?q?S=C3=A9bastien=20Lesaint?= Date: Wed, 28 Sep 2016 18:31:43 +0200 Subject: [PATCH] SONAR-8183 fix quality flaws on BackendCleanup --- .../src/main/java/org/sonar/server/platform/BackendCleanup.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/sonar-server/src/main/java/org/sonar/server/platform/BackendCleanup.java b/server/sonar-server/src/main/java/org/sonar/server/platform/BackendCleanup.java index 3d7dc3ca34a..2fc63bbb302 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/platform/BackendCleanup.java +++ b/server/sonar-server/src/main/java/org/sonar/server/platform/BackendCleanup.java @@ -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; } -- 2.39.5