diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-06-20 12:02:30 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-06-20 12:08:15 +0200 |
commit | 7f8e4f2dccbd747d3c5c726ee1d1281fe2a91167 (patch) | |
tree | c366ad6faffc2f0c84b9933166da3da143d86002 /sonar-core | |
parent | 4cb80adde707a46e28e2e0d414a19a3790767424 (diff) | |
download | sonarqube-7f8e4f2dccbd747d3c5c726ee1d1281fe2a91167.tar.gz sonarqube-7f8e4f2dccbd747d3c5c726ee1d1281fe2a91167.zip |
SONAR-5007 do not generate event on QProfile change on first analysis
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/core/purge/PurgeableSnapshotDto.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/purge/PurgeableSnapshotDto.java b/sonar-core/src/main/java/org/sonar/core/purge/PurgeableSnapshotDto.java index 5401261cfa5..e2d9ab3c51a 100644 --- a/sonar-core/src/main/java/org/sonar/core/purge/PurgeableSnapshotDto.java +++ b/sonar-core/src/main/java/org/sonar/core/purge/PurgeableSnapshotDto.java @@ -31,7 +31,7 @@ public class PurgeableSnapshotDto implements Comparable<PurgeableSnapshotDto> { private boolean isLast; public Date getDate() { - return date;//NOSONAR May expose internal representation by returning reference to mutable object + return date; } public long getSnapshotId() { @@ -47,7 +47,7 @@ public class PurgeableSnapshotDto implements Comparable<PurgeableSnapshotDto> { } public PurgeableSnapshotDto setDate(Date date) { - this.date = date;//NOSONAR May expose internal representation by incorporating reference to mutable object + this.date = date; return this; } |