]> source.dussan.org Git - sonarqube.git/commit
Set a hash even on empty file -> Will prevent NPE on empty file
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 2 Feb 2015 09:29:58 +0000 (10:29 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Mon, 2 Feb 2015 09:30:11 +0000 (10:30 +0100)
commit0565f090ed367130e201a3af8b87ea8a991bc537
tree83ccd4ec52b748d110778a6c07315f9661f471d6
parentae44cac7ac77b98df301e03ba3e386cff298aba6
Set a hash even on empty file -> Will prevent NPE on empty file
sonar-batch/src/main/java/org/sonar/batch/scan/filesystem/FileMetadata.java
sonar-batch/src/test/java/org/sonar/batch/index/SourcePersisterTest.java
sonar-batch/src/test/java/org/sonar/batch/scan/filesystem/FileMetadataTest.java
sonar-batch/src/test/resources/org/sonar/batch/index/SourcePersisterTest/testPersistEmptyFile-result.xml