aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java
index 4ea2c89a741..8c0f4ff97bf 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/SearchResponseFormat.java
@@ -210,9 +210,6 @@ public class SearchResponseFormat {
private static Location convertLocation(DbIssues.Location source) {
Location.Builder target = Location.newBuilder();
- if (source.hasComponentId()) {
- target.setComponentId(source.getComponentId());
- }
if (source.hasMsg()) {
target.setMsg(source.getMsg());
}