diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-06-10 22:50:56 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-07-16 22:22:59 +0200 |
commit | 75cfdf14c55712ec4a53f35ad0dd2e5c926695b5 (patch) | |
tree | 721c4969b5dcada93f28ed225a49f782043a5071 /sonar-db | |
parent | 2a7cf0a56817216b513be9d56ac897c92ab22736 (diff) | |
download | sonarqube-75cfdf14c55712ec4a53f35ad0dd2e5c926695b5.tar.gz sonarqube-75cfdf14c55712ec4a53f35ad0dd2e5c926695b5.zip |
SONAR-6716 Remove unused db migrations of data (not structures)
End of support of db migrations from versions lower than 3.7
Diffstat (limited to 'sonar-db')
-rw-r--r-- | sonar-db/src/main/java/org/sonar/db/component/ResourceIndexDao.java | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sonar-db/src/main/java/org/sonar/db/component/ResourceIndexDao.java b/sonar-db/src/main/java/org/sonar/db/component/ResourceIndexDao.java index b146a517f65..2e6e4ad79e4 100644 --- a/sonar-db/src/main/java/org/sonar/db/component/ResourceIndexDao.java +++ b/sonar-db/src/main/java/org/sonar/db/component/ResourceIndexDao.java @@ -136,15 +136,6 @@ public class ResourceIndexDao extends AbstractDao { } } - public boolean indexResource(long id) { - DbSession session = myBatis().openSession(false); - try { - return indexResource(session, id); - } finally { - MyBatis.closeQuietly(session); - } - } - public boolean indexResource(DbSession session, long id) { boolean indexed = false; ResourceIndexMapper mapper = session.getMapper(ResourceIndexMapper.class); |