aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db/src
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-db/src')
-rw-r--r--sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java b/sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java
index 7deb692a59a..dda0e063456 100644
--- a/sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java
+++ b/sonar-db/src/main/java/org/sonar/db/component/ComponentDao.java
@@ -27,7 +27,6 @@ import java.util.Collections;
import java.util.HashSet;
import java.util.List;
import java.util.Locale;
-import java.util.Map;
import java.util.Set;
import javax.annotation.CheckForNull;
import javax.annotation.Nullable;
@@ -305,13 +304,6 @@ public class ComponentDao implements Dao {
return mapper(dbSession).selectProjectsByNameQuery(nameQueryForSql, includeModules);
}
- private static void addPartialQueryParameterIfNotNull(Map<String, Object> parameters, @Nullable String keyOrNameFilter) {
- // TODO rely on resource_index table and match exactly the key
- if (keyOrNameFilter != null) {
- parameters.put("query", queryParameterFrom(keyOrNameFilter));
- }
- }
-
@CheckForNull
private static String queryParameterFrom(@Nullable String keyOrNameFilter) {
if (keyOrNameFilter != null) {