]> source.dussan.org Git - sonarqube.git/commitdiff
Add toString on ResourceComponent
authorJulien HENRY <julien.henry@sonarsource.com>
Fri, 21 Feb 2014 08:15:35 +0000 (09:15 +0100)
committerJulien HENRY <julien.henry@sonarsource.com>
Fri, 21 Feb 2014 13:01:39 +0000 (14:01 +0100)
sonar-core/src/main/java/org/sonar/core/component/ResourceComponent.java

index 730a9da2469dc2b4818241096ebcea8da07d7b95..7a1ea53877387589fbca096723ffa35da6fae535 100644 (file)
@@ -88,4 +88,9 @@ public class ResourceComponent implements Component {
   public Long resourceId() {
     return resourceId;
   }
+
+  @Override
+  public String toString() {
+    return key;
+  }
 }