aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-06-03 12:40:18 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-06-03 12:40:24 +0200
commit81c526901fb2f10eca77c7cccb306c959da4469b (patch)
tree9bbbd17d6675aa3ae3b2f78503a77e1f3d93ba6a /plugins
parentcf6e592d4967864c8a7f1ed8a0676ab1add70748 (diff)
downloadsonarqube-81c526901fb2f10eca77c7cccb306c959da4469b.tar.gz
sonarqube-81c526901fb2f10eca77c7cccb306c959da4469b.zip
Fix quality flaws
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-email-notifications-plugin/src/main/java/org/sonar/plugins/emailnotifications/AlertsEmailTemplate.java2
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");