summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-30 19:56:17 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-10-30 19:56:17 +0100
commit0ddf1ebc068e1ffb9dd1c24ba6eb7230e3649865 (patch)
tree6703ea82b7ed1774d22b3b5f8c40bed654592939 /plugins
parentd6393fa3347b6a7572ba69b16e5b23192271a646 (diff)
downloadsonarqube-0ddf1ebc068e1ffb9dd1c24ba6eb7230e3649865.tar.gz
sonarqube-0ddf1ebc068e1ffb9dd1c24ba6eb7230e3649865.zip
Fix typo
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplate.java2
-rw-r--r--plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplateTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplate.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplate.java
index 6f99c8b9a57..59fbdf0044d 100644
--- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplate.java
+++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplate.java
@@ -87,7 +87,7 @@ public class NewIssuesEmailTemplate extends EmailTemplate {
String dateString = notification.getFieldValue(FIELD_PROJECT_DATE);
if (projectUuid != null && dateString != null) {
Date date = DateUtils.parseDateTime(dateString);
- String url = String.format("%s/issues/search#componentRootUUids=%s|createdAt=%s",
+ String url = String.format("%s/issues/search#componentRootUuids=%s|createdAt=%s",
settings.getServerBaseURL(), encode(projectUuid), encode(DateUtils.formatDateTime(date)));
sb.append("\n").append("See it in SonarQube: ").append(url).append("\n");
}
diff --git a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplateTest.java b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplateTest.java
index 6b7a5d6c626..bff25b29856 100644
--- a/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplateTest.java
+++ b/plugins/sonar-core-plugin/src/test/java/org/sonar/plugins/core/issue/notification/NewIssuesEmailTemplateTest.java
@@ -103,7 +103,7 @@ public class NewIssuesEmailTemplateTest {
"\n" +
" Blocker: 0 Critical: 5 Major: 10 Minor: 3 Info: 1\n" +
"\n" +
- "See it in SonarQube: http://nemo.sonarsource.org/issues/search#componentRootUUids=ABCDE|createdAt=2010-05-1");
+ "See it in SonarQube: http://nemo.sonarsource.org/issues/search#componentRootUuids=ABCDE|createdAt=2010-05-1");
}
@Test