aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-04-19 16:27:57 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-04-21 01:23:38 +0200
commit393fb11209aea9b9180ef04542b45d6dcf3ba69f (patch)
tree68a650ce7348e880d4e3ce02aa872a7957c40d30 /sonar-db
parent4fb2af56675db4faa0df2f9d6c6e9c6726e73083 (diff)
downloadsonarqube-393fb11209aea9b9180ef04542b45d6dcf3ba69f.tar.gz
sonarqube-393fb11209aea9b9180ef04542b45d6dcf3ba69f.zip
SONAR-7187 WS api/ce/activity stop using count(1) on DB table CE_QUEUE
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/test/java/org/sonar/db/DbTester.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-db/src/test/java/org/sonar/db/DbTester.java b/sonar-db/src/test/java/org/sonar/db/DbTester.java
index 64c10150619..d58f519899f 100644
--- a/sonar-db/src/test/java/org/sonar/db/DbTester.java
+++ b/sonar-db/src/test/java/org/sonar/db/DbTester.java
@@ -155,7 +155,7 @@ public class DbTester extends ExternalResource {
/**
* Returns the number of rows in the table. Example:
- * <pre>int issues = countTable("issues")</pre>
+ * <pre>int issues = countRowsOfTable("issues")</pre>
*/
public int countRowsOfTable(String tableName) {
Preconditions.checkArgument(StringUtils.containsNone(tableName, " "), "Parameter must be the name of a table. Got " + tableName);