summaryrefslogtreecommitdiffstats
path: root/sonar-core/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-03-05 11:08:17 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-03-05 11:10:00 +0100
commit33e7b484acb9b0cda2e638dd5356b5e33c0ec1b4 (patch)
treeb0e198c98a182363d66a09c9a73ef4a22ea1d882 /sonar-core/src
parent29f7b15feea86c67c8e75fb89c8fa0dd4b807ba8 (diff)
downloadsonarqube-33e7b484acb9b0cda2e638dd5356b5e33c0ec1b4.tar.gz
sonarqube-33e7b484acb9b0cda2e638dd5356b5e33c0ec1b4.zip
Fix quality flaws
Diffstat (limited to 'sonar-core/src')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/activity/db/ActivityDto.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/activity/db/ActivityDto.java b/sonar-core/src/main/java/org/sonar/core/activity/db/ActivityDto.java
index 298b88faef9..81454b05421 100644
--- a/sonar-core/src/main/java/org/sonar/core/activity/db/ActivityDto.java
+++ b/sonar-core/src/main/java/org/sonar/core/activity/db/ActivityDto.java
@@ -22,6 +22,8 @@ package org.sonar.core.activity.db;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
+import javax.annotation.Nullable;
+
import java.util.Date;
public class ActivityDto {
@@ -65,7 +67,7 @@ public class ActivityDto {
return author;
}
- public ActivityDto setAuthor(String author) {
+ public ActivityDto setAuthor(@Nullable String author) {
this.author = author;
return this;
}
@@ -83,7 +85,7 @@ public class ActivityDto {
return message;
}
- public ActivityDto setMessage(String message) {
+ public ActivityDto setMessage(@Nullable String message) {
this.message = message;
return this;
}