diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2018-05-12 19:04:00 +0200 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2018-05-15 20:20:49 +0200 |
commit | cc711ea11add2c301f5ffa48674e9250923c74c3 (patch) | |
tree | aa922dfd8660d171683172dedbf79d25c95447b2 /server | |
parent | b24f836dbe5aef2a89c266ed97faa42310c64a4c (diff) | |
download | sonarqube-cc711ea11add2c301f5ffa48674e9250923c74c3.tar.gz sonarqube-cc711ea11add2c301f5ffa48674e9250923c74c3.zip |
Fix Quality flaws
Diffstat (limited to 'server')
-rw-r--r-- | server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/PersistFileSourcesStep.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/PersistFileSourcesStep.java b/server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/PersistFileSourcesStep.java index 1773bf03bc2..749d48cf510 100644 --- a/server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/PersistFileSourcesStep.java +++ b/server/sonar-server/src/main/java/org/sonar/server/computation/task/projectanalysis/step/PersistFileSourcesStep.java @@ -137,7 +137,7 @@ public class PersistFileSourcesStep implements ComputationStep { String srcHash = fileSourceData.getSrcHash(); String lineHashes = fileSourceData.getLineHashes(); FileSourceDto previousDto = previousFileSourcesByUuid.get(file.getUuid()); - Integer lineHashesVersion = sourceLinesHash.getLineHashesVersion(file); + int lineHashesVersion = sourceLinesHash.getLineHashesVersion(file); if (previousDto == null) { FileSourceDto dto = new FileSourceDto() |