aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-01-15 11:55:27 +0100
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2016-01-15 12:02:55 +0100
commit061165a76b9efa2956c23188e50d114d6cda3e02 (patch)
tree3d25234d9515b2bda30e85f6229e5d91f8fa9ada /sonar-db
parent078c530623663185fab34680e09d54c43d014dc5 (diff)
downloadsonarqube-061165a76b9efa2956c23188e50d114d6cda3e02.tar.gz
sonarqube-061165a76b9efa2956c23188e50d114d6cda3e02.zip
SONAR-7135 WS api/measures/component_tree parameterized periods in a measure
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java6
1 files changed, 1 insertions, 5 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java b/sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java
index c462231c9b7..6292b94c36e 100644
--- a/sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java
+++ b/sonar-db/src/main/java/org/sonar/db/component/ComponentTreeQuery.java
@@ -63,6 +63,7 @@ public class ComponentTreeQuery {
return qualifiers;
}
+ @CheckForNull
public String getNameOrKeyQuery() {
return nameOrKeyQuery;
}
@@ -72,11 +73,6 @@ public class ComponentTreeQuery {
return nameOrKeyQuery == null ? null : buildLikeValue(nameOrKeyQuery, AFTER).toLowerCase();
}
- @CheckForNull
- public String getNameOrKeyQueryToSqlForProjectKey() {
- return nameOrKeyQuery == null ? null : buildLikeValue(nameOrKeyQuery, AFTER);
- }
-
public Integer getPage() {
return page;
}