From 7f8e4f2dccbd747d3c5c726ee1d1281fe2a91167 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 20 Jun 2014 12:02:30 +0200 Subject: SONAR-5007 do not generate event on QProfile change on first analysis --- .../src/main/java/org/sonar/core/purge/PurgeableSnapshotDto.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sonar-core') 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 { 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 { } public PurgeableSnapshotDto setDate(Date date) { - this.date = date;//NOSONAR May expose internal representation by incorporating reference to mutable object + this.date = date; return this; } -- cgit v1.2.3