From: Julien HENRY Date: Fri, 21 Feb 2014 08:15:35 +0000 (+0100) Subject: Add toString on ResourceComponent X-Git-Tag: 4.2~67 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1e3d01d7ce435377f5f65f8c5d447e9cbb5f0885;p=sonarqube.git Add toString on ResourceComponent --- diff --git a/sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java b/sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java index 730a9da2469..7a1ea538773 100644 --- a/sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java +++ b/sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java @@ -88,4 +88,9 @@ public class ResourceComponent implements Component { public Long resourceId() { return resourceId; } + + @Override + public String toString() { + return key; + } }