summaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-05-21 17:03:54 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-05-21 17:04:02 +0200
commitabcc0e27eaa842847e72f5d87a0d8bb2f4df2e56 (patch)
treed8dd73ffa2c5eadf482abaf12df110015f7970d2 /sonar-core
parentd035b237f9803f706e5e3184c307cf0211466931 (diff)
downloadsonarqube-abcc0e27eaa842847e72f5d87a0d8bb2f4df2e56.tar.gz
sonarqube-abcc0e27eaa842847e72f5d87a0d8bb2f4df2e56.zip
SONAR-5007 improve usage of DbClient and move some services to new DAOs
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/persistence/DaoComponent.java (renamed from sonar-core/src/main/java/org/sonar/api/DaoComponent.java)2
-rw-r--r--sonar-core/src/main/java/org/sonar/core/properties/PropertiesDao.java2
-rw-r--r--sonar-core/src/main/java/org/sonar/core/qualityprofile/db/QualityProfileDao.java2
-rw-r--r--sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java2
-rw-r--r--sonar-core/src/main/java/org/sonar/core/technicaldebt/db/CharacteristicDao.java2
-rw-r--r--sonar-core/src/main/java/org/sonar/core/template/LoadedTemplateDao.java2
6 files changed, 6 insertions, 6 deletions
diff --git a/sonar-core/src/main/java/org/sonar/api/DaoComponent.java b/sonar-core/src/main/java/org/sonar/core/persistence/DaoComponent.java
index 8b200d93a7f..da0a5f12224 100644
--- a/sonar-core/src/main/java/org/sonar/api/DaoComponent.java
+++ b/sonar-core/src/main/java/org/sonar/core/persistence/DaoComponent.java
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-package org.sonar.api;
+package org.sonar.core.persistence;
/**
* @since 4.4
diff --git a/sonar-core/src/main/java/org/sonar/core/properties/PropertiesDao.java b/sonar-core/src/main/java/org/sonar/core/properties/PropertiesDao.java
index 785416c5bad..be7e5ed7028 100644
--- a/sonar-core/src/main/java/org/sonar/core/properties/PropertiesDao.java
+++ b/sonar-core/src/main/java/org/sonar/core/properties/PropertiesDao.java
@@ -24,7 +24,7 @@ import com.google.common.base.Strings;
import org.apache.commons.lang.StringUtils;
import org.apache.ibatis.session.SqlSession;
import org.sonar.api.BatchComponent;
-import org.sonar.api.DaoComponent;
+import org.sonar.core.persistence.DaoComponent;
import org.sonar.api.ServerComponent;
import org.sonar.core.persistence.DbSession;
import org.sonar.core.persistence.MyBatis;
diff --git a/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/QualityProfileDao.java b/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/QualityProfileDao.java
index 276b5dcfe19..5b975d5dcb2 100644
--- a/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/QualityProfileDao.java
+++ b/sonar-core/src/main/java/org/sonar/core/qualityprofile/db/QualityProfileDao.java
@@ -22,7 +22,7 @@ package org.sonar.core.qualityprofile.db;
import com.google.common.base.Preconditions;
import org.apache.ibatis.session.SqlSession;
-import org.sonar.api.DaoComponent;
+import org.sonar.core.persistence.DaoComponent;
import org.sonar.api.ServerComponent;
import org.sonar.core.component.ComponentDto;
import org.sonar.core.persistence.DbSession;
diff --git a/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java b/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java
index 495c8f6acbd..e9475d79f48 100644
--- a/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java
+++ b/sonar-core/src/main/java/org/sonar/core/resource/ResourceDao.java
@@ -23,7 +23,7 @@ import com.google.common.base.Function;
import com.google.common.collect.Iterables;
import com.google.common.collect.Lists;
import org.apache.ibatis.session.SqlSession;
-import org.sonar.api.DaoComponent;
+import org.sonar.core.persistence.DaoComponent;
import org.sonar.api.component.Component;
import org.sonar.core.component.ComponentDto;
import org.sonar.core.persistence.MyBatis;
diff --git a/sonar-core/src/main/java/org/sonar/core/technicaldebt/db/CharacteristicDao.java b/sonar-core/src/main/java/org/sonar/core/technicaldebt/db/CharacteristicDao.java
index 929a280598e..2eb94c33bd1 100644
--- a/sonar-core/src/main/java/org/sonar/core/technicaldebt/db/CharacteristicDao.java
+++ b/sonar-core/src/main/java/org/sonar/core/technicaldebt/db/CharacteristicDao.java
@@ -23,7 +23,7 @@ package org.sonar.core.technicaldebt.db;
import com.google.common.collect.Lists;
import org.apache.ibatis.session.SqlSession;
import org.sonar.api.BatchComponent;
-import org.sonar.api.DaoComponent;
+import org.sonar.core.persistence.DaoComponent;
import org.sonar.api.ServerComponent;
import org.sonar.core.persistence.MyBatis;
diff --git a/sonar-core/src/main/java/org/sonar/core/template/LoadedTemplateDao.java b/sonar-core/src/main/java/org/sonar/core/template/LoadedTemplateDao.java
index 126ab44bfd3..fc47e1f7517 100644
--- a/sonar-core/src/main/java/org/sonar/core/template/LoadedTemplateDao.java
+++ b/sonar-core/src/main/java/org/sonar/core/template/LoadedTemplateDao.java
@@ -21,7 +21,7 @@ package org.sonar.core.template;
import org.apache.ibatis.session.SqlSession;
import org.sonar.api.BatchComponent;
-import org.sonar.api.DaoComponent;
+import org.sonar.core.persistence.DaoComponent;
import org.sonar.api.ServerComponent;
import org.sonar.core.persistence.MyBatis;