]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-5473 Fix fake project referential implementaion
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 2 Oct 2014 19:24:55 +0000 (21:24 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Thu, 2 Oct 2014 19:25:33 +0000 (21:25 +0200)
sonar-batch/src/main/java/org/sonar/batch/referential/DefaultProjectReferentialsLoader.java

index d3a85a912a962374f705bdc58dc1782a0b74ab4b..d0fc40db4bb13fd41b244dc3bb0f078dc056f767 100644 (file)
@@ -105,7 +105,7 @@ public class DefaultProjectReferentialsLoader implements ProjectReferentialsLoad
             authors = ((MeasureModel) measureByKey[1]).getData(CoreMetrics.SCM_AUTHORS_BY_LINE);
           }
         }
-        ref.addFileData(projectKey, path, new FileData(hash, lastCommits, revisions, authors));
+        ref.addFileData(module.getKeyWithBranch(), path, new FileData(hash, lastCommits, revisions, authors));
       }
     }
     return ref;