diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-06-27 15:13:07 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2017-07-05 21:02:57 +0200 |
commit | e964104ca94fdd7b975dedbbe8b15eb578b41f53 (patch) | |
tree | 9aa69289a9ac737e604ae7b638495d0dfc124654 /server/sonar-db-core | |
parent | 0e05020d62dbe8d7c088e4bdb0de4f1cd2e13fe9 (diff) | |
download | sonarqube-e964104ca94fdd7b975dedbbe8b15eb578b41f53.tar.gz sonarqube-e964104ca94fdd7b975dedbbe8b15eb578b41f53.zip |
Deprecate DatabaseUtils#repeatCondition()
Diffstat (limited to 'server/sonar-db-core')
-rw-r--r-- | server/sonar-db-core/src/main/java/org/sonar/db/DatabaseUtils.java | 4 |
1 files changed, 4 insertions, 0 deletions
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++) { |