From 50a17c2211ff745c47bfafffde28a425181b7675 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Tue, 9 Dec 2014 14:23:08 +0100 Subject: [PATCH] Fix quality flaws --- .../db/migrations/v50/FeedIssueLongDatesTest/before.xml | 5 +++-- 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" /> + 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; -- 2.39.5