diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-06-03 12:40:18 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-06-03 12:40:24 +0200 |
commit | 81c526901fb2f10eca77c7cccb306c959da4469b (patch) | |
tree | 9bbbd17d6675aa3ae3b2f78503a77e1f3d93ba6a /plugins/sonar-email-notifications-plugin/src | |
parent | cf6e592d4967864c8a7f1ed8a0676ab1add70748 (diff) | |
download | sonarqube-81c526901fb2f10eca77c7cccb306c959da4469b.tar.gz sonarqube-81c526901fb2f10eca77c7cccb306c959da4469b.zip |
Fix quality flaws
Diffstat (limited to 'plugins/sonar-email-notifications-plugin/src')
-rw-r--r-- | plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/AlertsEmailTemplate.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/AlertsEmailTemplate.java b/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/AlertsEmailTemplate.java index a66444ad838..2ea0faf34f2 100644 --- a/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/AlertsEmailTemplate.java +++ b/plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/AlertsEmailTemplate.java @@ -65,7 +65,7 @@ public class AlertsEmailTemplate extends EmailTemplate { .setMessage(messageBody); } - private String generateSubject(String projectName, String alertLevel, boolean isNewAlert) { + private static String generateSubject(String projectName, String alertLevel, boolean isNewAlert) { StringBuilder subjectBuilder = new StringBuilder(); if (Metric.Level.OK.toString().equals(alertLevel)) { subjectBuilder.append("\"").append(projectName).append("\" is back to green"); |