diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-12-09 14:23:08 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-12-09 14:23:08 +0100 |
commit | 50a17c2211ff745c47bfafffde28a425181b7675 (patch) | |
tree | 555b9741875403166ef21f500f3bc3c2ebc08d05 | |
parent | 17dfb03e21fb185de4051a0b62144690f86b8b4a (diff) | |
download | sonarqube-50a17c2211ff745c47bfafffde28a425181b7675.tar.gz sonarqube-50a17c2211ff745c47bfafffde28a425181b7675.zip |
Fix quality flaws
-rw-r--r-- | server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v50/FeedIssueLongDatesTest/before.xml | 5 | ||||
-rw-r--r-- | sonar-home/src/main/java/org/sonar/home/cache/FileCache.java | 1 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v50/FeedIssueLongDatesTest/before.xml b/server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v50/FeedIssueLongDatesTest/before.xml index 9e28208c426..4c77c6f6dd8 100644 --- a/server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v50/FeedIssueLongDatesTest/before.xml +++ b/server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v50/FeedIssueLongDatesTest/before.xml @@ -48,6 +48,7 @@ UPDATED_AT_MS="1500000000000" /> + <!-- NULL dates --> <issues id="3" kee="MISSINGDATES" resolution="OPEN" status="OPEN" severity="BLOCKER" manual_severity="[false]" assignee="[null]" author_login="[null]" @@ -65,8 +66,8 @@ issue_creation_date="[null]" issue_update_date="[null]" issue_close_date="[null]" - created_at="2014-05-12" - updated_at="2014-05-13" + created_at="[null]" + updated_at="[null]" CREATED_AT_MS="[null]" UPDATED_AT_MS="[null]" /> diff --git a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java index d41da7a866d..3588a908b4b 100644 --- a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java +++ b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java @@ -37,7 +37,6 @@ import java.util.zip.ZipEntry; */ public class FileCache { - private static final int TEMP_FILE_ATTEMPTS = 1000; /** Maximum loop count when creating temp directories. */ private static final int TEMP_DIR_ATTEMPTS = 10000; |