diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-08-28 18:51:07 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-09-04 15:14:35 +0200 |
commit | 280a33c2c1e5b816e27688245b000e9dd502a94c (patch) | |
tree | b127af058ad038b06bf1489d8b6dea9474a76363 /sonar-db | |
parent | 2f92fe93b2d7bb37ca31357fbcccbffeda02d039 (diff) | |
download | sonarqube-280a33c2c1e5b816e27688245b000e9dd502a94c.tar.gz sonarqube-280a33c2c1e5b816e27688245b000e9dd502a94c.zip |
SONAR-6813 Drop ES index sourceLines
Diffstat (limited to 'sonar-db')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/source/FileSourceDao.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/source/FileSourceDao.java b/sonar-db/src/main/java/org/sonar/db/source/FileSourceDao.java index 6aeb7d0742b..f1448a545bf 100644 --- a/sonar-db/src/main/java/org/sonar/db/source/FileSourceDao.java +++ b/sonar-db/src/main/java/org/sonar/db/source/FileSourceDao.java @@ -56,6 +56,11 @@ public class FileSourceDao implements Dao { } @CheckForNull + public FileSourceDto selectSourceByFileUuid(DbSession session, String fileUuid) { + return mapper(session).select(fileUuid, Type.SOURCE); + } + + @CheckForNull public FileSourceDto selectTest(String fileUuid) { DbSession session = mybatis.openSession(false); try { |