From e964104ca94fdd7b975dedbbe8b15eb578b41f53 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 27 Jun 2017 15:13:07 +0200 Subject: [PATCH] Deprecate DatabaseUtils#repeatCondition() --- .../src/main/java/org/sonar/db/DatabaseUtils.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server/sonar-db-core/src/main/java/org/sonar/db/DatabaseUtils.java b/server/sonar-db-core/src/main/java/org/sonar/db/DatabaseUtils.java index 777ca12b489..6e8f7baa74f 100644 --- a/server/sonar-db-core/src/main/java/org/sonar/db/DatabaseUtils.java +++ b/server/sonar-db-core/src/main/java/org/sonar/db/DatabaseUtils.java @@ -236,6 +236,10 @@ public class DatabaseUtils { } } + /** + * @deprecated replaced by Commons Land {@code StringUtils.repeat(sql, separator, count) + */ + @Deprecated public static String repeatCondition(String sql, int count, String separator) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < count; i++) { -- 2.39.5