aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2022-03-17 14:59:15 -0500
committersonartech <sonartech@sonarsource.com>2022-03-18 20:02:58 +0000
commit7aa77dfb2275f38de07c9d3b936e0eea43ac96af (patch)
tree0ff992bdb11f30f395243e86e1d3039847dd8231 /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parenteb34454afc19f4994ae587b43ff2d0c79978de23 (diff)
downloadsonarqube-7aa77dfb2275f38de07c9d3b936e0eea43ac96af.tar.gz
sonarqube-7aa77dfb2275f38de07c9d3b936e0eea43ac96af.zip
SONAR-16097 Apply feedback
Diffstat (limited to 'server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java')
-rw-r--r--server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
index 2268ea41b53..d4738c368d1 100644
--- a/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
+++ b/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
@@ -77,7 +77,7 @@ import org.sonar.db.qualityprofile.QualityProfileDao;
import org.sonar.db.qualityprofile.QualityProfileExportDao;
import org.sonar.db.rule.RuleDao;
import org.sonar.db.rule.RuleRepositoryDao;
-import org.sonar.db.scannercache.ScannerCacheDao;
+import org.sonar.db.scannercache.ScannerAnalysisCacheDao;
import org.sonar.db.schemamigration.SchemaMigrationDao;
import org.sonar.db.source.FileSourceDao;
import org.sonar.db.user.GroupDao;
@@ -169,7 +169,7 @@ public class DbClient {
private final UserDismissedMessagesDao userDismissedMessagesDao;
private final ApplicationProjectsDao applicationProjectsDao;
private final ProjectBadgeTokenDao projectBadgeTokenDao;
- private final ScannerCacheDao scannerCacheDao;
+ private final ScannerAnalysisCacheDao scannerAnalysisCacheDao;
public DbClient(Database database, MyBatis myBatis, DBSessions dbSessions, Dao... daos) {
this.database = database;
@@ -250,7 +250,7 @@ public class DbClient {
samlMessageIdDao = getDao(map, SamlMessageIdDao.class);
userDismissedMessagesDao = getDao(map, UserDismissedMessagesDao.class);
applicationProjectsDao = getDao(map, ApplicationProjectsDao.class);
- scannerCacheDao = getDao(map, ScannerCacheDao.class);
+ scannerAnalysisCacheDao = getDao(map, ScannerAnalysisCacheDao.class);
}
public DbSession openSession(boolean batch) {
@@ -551,7 +551,7 @@ public class DbClient {
return projectBadgeTokenDao;
}
- public ScannerCacheDao scannerCacheDao() {
- return scannerCacheDao;
+ public ScannerAnalysisCacheDao scannerAnalysisCacheDao() {
+ return scannerAnalysisCacheDao;
}
}