summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sonar-core/src/main/java/org/sonar/core/user/AuthorDto.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/user/AuthorDto.java b/sonar-core/src/main/java/org/sonar/core/user/AuthorDto.java
index 0a42b3d166c..0e486383203 100644
--- a/sonar-core/src/main/java/org/sonar/core/user/AuthorDto.java
+++ b/sonar-core/src/main/java/org/sonar/core/user/AuthorDto.java
@@ -60,20 +60,20 @@ public final class AuthorDto {
}
public Date getCreatedAt() {
- return createdAt;
+ return createdAt;//NOSONAR May expose internal representation by returning reference to mutable object
}
public AuthorDto setCreatedAt(Date createdAt) {
- this.createdAt = createdAt;
+ this.createdAt = createdAt;// NOSONAR May expose internal representation by incorporating reference to mutable object
return this;
}
public Date getUpdatedAt() {
- return updatedAt;
+ return updatedAt;//NOSONAR May expose internal representation by returning reference to mutable object
}
public AuthorDto setUpdatedAt(Date updatedAt) {
- this.updatedAt = updatedAt;
+ this.updatedAt = updatedAt;// NOSONAR May expose internal representation by incorporating reference to mutable object
return this;
}