From: Simon Brandhof Date: Tue, 9 Dec 2014 13:23:08 +0000 (+0100) Subject: Fix quality flaws X-Git-Tag: 5.0-RC1~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=50a17c2211ff745c47bfafffde28a425181b7675;p=sonarqube.git Fix quality flaws --- 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" /> + 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;