summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-13 11:02:06 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2013-12-13 11:02:06 +0100
commit706b253c903ad472d183a7e0918904032ea7e195 (patch)
tree8b9daa4df71a4ef40e7eb6d38558735d9f3a1031 /sonar-core
parent5c9c1d754a814bffea825e17e8489d0c045cd6cb (diff)
downloadsonarqube-706b253c903ad472d183a7e0918904032ea7e195.tar.gz
sonarqube-706b253c903ad472d183a7e0918904032ea7e195.zip
Temporary rename class
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java2
-rw-r--r--sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleDao.java4
-rw-r--r--sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleMapper2.java (renamed from sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveruleMapper.java)2
-rw-r--r--sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml2
4 files changed, 5 insertions, 5 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java b/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java
index 2fb00f2a0bc..b382b8cf02e 100644
--- a/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java
+++ b/sonar-core/src/main/java/org/sonar/core/persistence/MyBatis.java
@@ -155,7 +155,7 @@ public class MyBatis implements BatchComponent, ServerComponent {
SchemaMigrationMapper.class, SemaphoreMapper.class, UserMapper.class, WidgetMapper.class, WidgetPropertyMapper.class,
MeasureMapper.class, SnapshotDataMapper.class, SnapshotSourceMapper.class, ActionPlanMapper.class, ActionPlanStatsMapper.class,
NotificationQueueMapper.class, CharacteristicMapper.class,
- GroupMembershipMapper.class, QualityProfileMapper.class, ActiveRuleMapper.class
+ GroupMembershipMapper.class, QualityProfileMapper.class, ActiveRuleMapper2.class
};
loadMappers(conf, mappers);
configureLogback(mappers);
diff --git a/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleDao.java b/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleDao.java
index 2346103e655..d3d0318cf35 100644
--- a/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleDao.java
+++ b/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleDao.java
@@ -33,7 +33,7 @@ public class ActiveRuleDao implements ServerComponent {
}
public void insert(ActiveRuleDto dto, SqlSession session) {
- session.getMapper(ActiveRuleMapper.class).insert(dto);
+ session.getMapper(ActiveRuleMapper2.class).insert(dto);
}
public void insert(ActiveRuleDto dto) {
@@ -47,7 +47,7 @@ public class ActiveRuleDao implements ServerComponent {
}
public void insert(ActiveRuleParamDto dto, SqlSession session) {
- session.getMapper(ActiveRuleMapper.class).insertParameter(dto);
+ session.getMapper(ActiveRuleMapper2.class).insertParameter(dto);
}
public void insert(ActiveRuleParamDto dto) {
diff --git a/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveruleMapper.java b/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleMapper2.java
index e4068570c50..025043d14dd 100644
--- a/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveruleMapper.java
+++ b/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/ActiveRuleMapper2.java
@@ -20,7 +20,7 @@
package org.sonar.core.qualityprofile.db;
-public interface ActiveRuleMapper {
+public interface ActiveRuleMapper2 {
void insert(ActiveRuleDto dto);
diff --git a/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml b/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml
index f7178820d9d..bf8f1b86cb0 100644
--- a/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml
+++ b/sonar-core/src/main/resources/org/sonar/core/qualityprofile/db/ActiveRuleMapper.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
-<mapper namespace="org.sonar.core.qualityprofile.db.ActiveRuleMapper">
+<mapper namespace="org.sonar.core.qualityprofile.db.ActiveRuleMapper2">
<sql id="activeRuleColumns">
p.id,