diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-10-10 23:17:11 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-10-10 23:17:11 +0200 |
commit | 7feff9997bfa2df921684cc83cd7f02b1f6204e8 (patch) | |
tree | a1209c38a0903d25a921389d4c909bf5b66b8000 /plugins/sonar-core-plugin | |
parent | cdd15cb557eecbb39c09bedb64defb363671394b (diff) | |
download | sonarqube-7feff9997bfa2df921684cc83cd7f02b1f6204e8.tar.gz sonarqube-7feff9997bfa2df921684cc83cd7f02b1f6204e8.zip |
SONAR-3677 Improve API
Diffstat (limited to 'plugins/sonar-core-plugin')
-rw-r--r-- | plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/FileHashSensor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/FileHashSensor.java b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/FileHashSensor.java index ef03cf16bff..969696e54ff 100644 --- a/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/FileHashSensor.java +++ b/plugins/sonar-core-plugin/src/main/java/org/sonar/plugins/core/sensors/FileHashSensor.java @@ -60,7 +60,7 @@ public final class FileHashSensor implements Sensor { for (InputFile inputFile : fileCache.byModule(project.key())) { String hash = inputFile.attribute(InputFile.ATTRIBUTE_HASH); if (hash != null) { - map.put(inputFile.relativePath(), hash); + map.put(inputFile.path(), hash); } } if (!map.isEmpty()) { |