aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-04-05 19:07:13 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-04-05 19:07:13 +0200
commit032ae94ee28d1493e602cc8599fbba3753ae4dd7 (patch)
tree616cd69a1f156361a66449af686d23d0b89f565b
parent35a24b6c1969f3c6e234f5a29fce8455df9df122 (diff)
downloadsonarqube-032ae94ee28d1493e602cc8599fbba3753ae4dd7.tar.gz
sonarqube-032ae94ee28d1493e602cc8599fbba3753ae4dd7.zip
Fix some quality flaws
-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;
}