aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2018-05-12 19:04:00 +0200
committerSonarTech <sonartech@sonarsource.com>2018-05-15 20:20:49 +0200
commitcc711ea11add2c301f5ffa48674e9250923c74c3 (patch)
treeaa922dfd8660d171683172dedbf79d25c95447b2 /server
parentb24f836dbe5aef2a89c266ed97faa42310c64a4c (diff)
downloadsonarqube-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.java2
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()