]> source.dussan.org Git - sonarqube.git/commitdiff
Fix quality flaws
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 9 Dec 2014 13:23:08 +0000 (14:23 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 9 Dec 2014 13:23:08 +0000 (14:23 +0100)
server/sonar-server/src/test/resources/org/sonar/server/db/migrations/v50/FeedIssueLongDatesTest/before.xml
sonar-home/src/main/java/org/sonar/home/cache/FileCache.java

index 9e28208c4268181c30967ea3c962f32aa87c7854..4c77c6f6dd80aebd015495b64c9317310a921187 100644 (file)
@@ -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]"
     />
index d41da7a866d7e9acde3ca90e3c30c56ab39ddec7..3588a908b4be540295c971761495ce1ef5ab51eb 100644 (file)
@@ -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;