From 1e3d01d7ce435377f5f65f8c5d447e9cbb5f0885 Mon Sep 17 00:00:00 2001 From: Julien HENRY Date: Fri, 21 Feb 2014 09:15:35 +0100 Subject: [PATCH] Add toString on ResourceComponent --- .../java/org/sonar/core/component/ResourceComponent.java | 5 +++++ 1 file changed, 5 insertions(+) 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; + } } -- 2.39.5