aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-06-02 10:18:19 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-06-02 10:18:19 +0200
commit1afee765024b8ed5bb41af811fd56b7d8f2b1000 (patch)
treec83ce023b1faed519f04dfeec65f7a13774e384d /sonar-core
parent33d18b70d5798c04dc3be1f951cd21068068ca5a (diff)
downloadsonarqube-1afee765024b8ed5bb41af811fd56b7d8f2b1000.tar.gz
sonarqube-1afee765024b8ed5bb41af811fd56b7d8f2b1000.zip
SONAR-3755 improve email of issue changes
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/issue/IssueNotifications.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/issue/IssueNotifications.java b/sonar-core/src/main/java/org/sonar/core/issue/IssueNotifications.java
index f220fc821a5..51c08844168 100644
--- a/sonar-core/src/main/java/org/sonar/core/issue/IssueNotifications.java
+++ b/sonar-core/src/main/java/org/sonar/core/issue/IssueNotifications.java
@@ -95,7 +95,7 @@ public class IssueNotifications implements BatchComponent, ServerComponent {
notification.setFieldValue("ruleName", ruleName(rule));
notification.setFieldValue("componentKey", issue.componentKey());
if (component != null) {
- notification.setFieldValue("componentName", component.name());
+ notification.setFieldValue("componentName", component.longName());
}
if (comment != null) {
notification.setFieldValue("comment", comment);