diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-04-05 19:07:13 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-04-05 19:07:13 +0200 |
commit | 032ae94ee28d1493e602cc8599fbba3753ae4dd7 (patch) | |
tree | 616cd69a1f156361a66449af686d23d0b89f565b | |
parent | 35a24b6c1969f3c6e234f5a29fce8455df9df122 (diff) | |
download | sonarqube-032ae94ee28d1493e602cc8599fbba3753ae4dd7.tar.gz sonarqube-032ae94ee28d1493e602cc8599fbba3753ae4dd7.zip |
Fix some quality flaws
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/user/AuthorDto.java | 8 |
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; } |