aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-cpd-plugin/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-12-22 13:52:31 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2011-12-22 13:52:33 +0100
commit5d02d93ba42efbf926d25126f746a632b922b1ca (patch)
tree5a19985b2f25f0c5ebdb03d71d5a4c7e28a338b3 /plugins/sonar-cpd-plugin/src
parent84171b67f487307059cce507f41fd03dbfdcbc4b (diff)
downloadsonarqube-5d02d93ba42efbf926d25126f746a632b922b1ca.tar.gz
sonarqube-5d02d93ba42efbf926d25126f746a632b922b1ca.zip
Refactor the packages of sonar-core
* The root package should be org.sonar.core -> org.sonar.persistence is moved to org.sonar.core.persistence * Classes are grouped by functional domain (resource, review, rule, ...)
Diffstat (limited to 'plugins/sonar-cpd-plugin/src')
-rw-r--r--plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java2
-rw-r--r--plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/index/DbDuplicationsIndex.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java
index 06e74995a4e..98b565281be 100644
--- a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java
+++ b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/SonarEngine.java
@@ -42,7 +42,7 @@ import org.sonar.duplications.java.JavaTokenProducer;
import org.sonar.duplications.statement.Statement;
import org.sonar.duplications.statement.StatementChunker;
import org.sonar.duplications.token.TokenChunker;
-import org.sonar.persistence.duplication.DuplicationDao;
+import org.sonar.core.duplication.DuplicationDao;
import org.sonar.plugins.cpd.index.DbDuplicationsIndex;
import org.sonar.plugins.cpd.index.SonarDuplicationsIndex;
diff --git a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/index/DbDuplicationsIndex.java b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/index/DbDuplicationsIndex.java
index 755b8e3766a..36304d97225 100644
--- a/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/index/DbDuplicationsIndex.java
+++ b/plugins/sonar-cpd-plugin/src/main/java/org/sonar/plugins/cpd/index/DbDuplicationsIndex.java
@@ -30,8 +30,8 @@ import org.sonar.api.resources.Resource;
import org.sonar.batch.index.ResourcePersister;
import org.sonar.duplications.block.Block;
import org.sonar.duplications.block.ByteArray;
-import org.sonar.persistence.duplication.DuplicationDao;
-import org.sonar.persistence.duplication.DuplicationUnitDto;
+import org.sonar.core.duplication.DuplicationDao;
+import org.sonar.core.duplication.DuplicationUnitDto;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;