aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
diff options
context:
space:
mode:
authorEric Giffon <eric.giffon@sonarsource.com>2024-08-27 13:40:14 +0200
committersonartech <sonartech@sonarsource.com>2024-08-28 20:02:46 +0000
commitd8ebc8fbb62dad04ed4f665379bd80c4d7d88dc2 (patch)
tree3ef465dc7fb2103465967717ed4df3a6b346f39f /server/sonar-db-dao/src/main/java/org/sonar/db/DbClient.java
parent6886098404b68f5d5cf2ffd50ef03ed5f519a79f (diff)
downloadsonarqube-d8ebc8fbb62dad04ed4f665379bd80c4d7d88dc2.tar.gz
sonarqube-d8ebc8fbb62dad04ed4f665379bd80c4d7d88dc2.zip
SONAR-22874 Rename Measure classes to ProjectMeasure
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.java11
1 files changed, 5 insertions, 6 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 8f68429cbb0..598d3663e1c 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
@@ -48,7 +48,7 @@ import org.sonar.db.issue.IssueChangeDao;
import org.sonar.db.issue.IssueDao;
import org.sonar.db.issue.IssueFixedDao;
import org.sonar.db.measure.LiveMeasureDao;
-import org.sonar.db.measure.MeasureDao;
+import org.sonar.db.measure.ProjectMeasureDao;
import org.sonar.db.metric.MetricDao;
import org.sonar.db.newcodeperiod.NewCodePeriodDao;
import org.sonar.db.notification.NotificationQueueDao;
@@ -126,7 +126,7 @@ public class DbClient {
private final SnapshotDao snapshotDao;
private final ComponentDao componentDao;
private final ComponentKeyUpdaterDao componentKeyUpdaterDao;
- private final MeasureDao measureDao;
+ private final ProjectMeasureDao projectMeasureDao;
private final UserDao userDao;
private final UserGroupDao userGroupDao;
private final UserTokenDao userTokenDao;
@@ -220,7 +220,7 @@ public class DbClient {
snapshotDao = getDao(map, SnapshotDao.class);
componentDao = getDao(map, ComponentDao.class);
componentKeyUpdaterDao = getDao(map, ComponentKeyUpdaterDao.class);
- measureDao = getDao(map, MeasureDao.class);
+ projectMeasureDao = getDao(map, ProjectMeasureDao.class);
userDao = getDao(map, UserDao.class);
userGroupDao = getDao(map, UserGroupDao.class);
userTokenDao = getDao(map, UserTokenDao.class);
@@ -389,8 +389,8 @@ public class DbClient {
return componentKeyUpdaterDao;
}
- public MeasureDao measureDao() {
- return measureDao;
+ public ProjectMeasureDao projectMeasureDao() {
+ return projectMeasureDao;
}
public UserDao userDao() {
@@ -647,4 +647,3 @@ public class DbClient {
return projectExportDao;
}
}
-