aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-db
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2015-08-27 15:36:03 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2015-08-28 22:46:56 +0200
commit2879d869c19d9058e69e2f1db67d537c394f918b (patch)
tree49e648482f7b372e7c3278ec890af26636b43703 /sonar-db
parent8e8a0af77865ddef7f7890ccf5e91e55e4d8eb67 (diff)
downloadsonarqube-2879d869c19d9058e69e2f1db67d537c394f918b.tar.gz
sonarqube-2879d869c19d9058e69e2f1db67d537c394f918b.zip
SONAR-6812 Improve format of generated UUIDs for better usage of Lucene
Diffstat (limited to 'sonar-db')
-rw-r--r--sonar-db/src/main/java/org/sonar/core/issue/ActionPlanStats.java2
-rw-r--r--sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java2
-rw-r--r--sonar-db/src/main/java/org/sonar/db/version/v50/PopulateProjectsUuidColumnsMigrationStep.java2
-rw-r--r--sonar-db/src/test/java/org/sonar/db/component/ComponentTesting.java2
-rw-r--r--sonar-db/src/test/java/org/sonar/db/permission/PermissionTemplateTesting.java2
5 files changed, 5 insertions, 5 deletions
diff --git a/sonar-db/src/main/java/org/sonar/core/issue/ActionPlanStats.java b/sonar-db/src/main/java/org/sonar/core/issue/ActionPlanStats.java
index 593ec0d63ca..eced20dda2c 100644
--- a/sonar-db/src/main/java/org/sonar/core/issue/ActionPlanStats.java
+++ b/sonar-db/src/main/java/org/sonar/core/issue/ActionPlanStats.java
@@ -22,7 +22,7 @@ package org.sonar.core.issue;
import java.util.Date;
import org.sonar.api.issue.ActionPlan;
-import org.sonar.api.utils.internal.Uuids;
+import org.sonar.core.util.Uuids;
public class ActionPlanStats extends DefaultActionPlan {
diff --git a/sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java b/sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java
index bf1fe49aae1..1d4019cdd91 100644
--- a/sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java
+++ b/sonar-db/src/main/java/org/sonar/db/issue/IssueDto.java
@@ -37,7 +37,7 @@ import org.sonar.api.resources.Project;
import org.sonar.api.rule.RuleKey;
import org.sonar.api.utils.Duration;
import org.sonar.api.utils.KeyValueFormat;
-import org.sonar.api.utils.internal.Uuids;
+import org.sonar.core.util.Uuids;
import org.sonar.core.issue.DefaultIssue;
import org.sonar.db.component.ComponentDto;
import org.sonar.db.protobuf.DbIssues;
diff --git a/sonar-db/src/main/java/org/sonar/db/version/v50/PopulateProjectsUuidColumnsMigrationStep.java b/sonar-db/src/main/java/org/sonar/db/version/v50/PopulateProjectsUuidColumnsMigrationStep.java
index 181d0aeebf3..547f42f9128 100644
--- a/sonar-db/src/main/java/org/sonar/db/version/v50/PopulateProjectsUuidColumnsMigrationStep.java
+++ b/sonar-db/src/main/java/org/sonar/db/version/v50/PopulateProjectsUuidColumnsMigrationStep.java
@@ -28,7 +28,7 @@ import java.util.concurrent.atomic.AtomicLong;
import org.apache.ibatis.session.ResultContext;
import org.apache.ibatis.session.ResultHandler;
import org.sonar.api.resources.Scopes;
-import org.sonar.api.utils.internal.Uuids;
+import org.sonar.core.util.Uuids;
import org.sonar.api.utils.log.Logger;
import org.sonar.api.utils.log.Loggers;
import org.sonar.core.util.ProgressLogger;
diff --git a/sonar-db/src/test/java/org/sonar/db/component/ComponentTesting.java b/sonar-db/src/test/java/org/sonar/db/component/ComponentTesting.java
index f492d037f43..ddbc5c345e0 100644
--- a/sonar-db/src/test/java/org/sonar/db/component/ComponentTesting.java
+++ b/sonar-db/src/test/java/org/sonar/db/component/ComponentTesting.java
@@ -23,7 +23,7 @@ package org.sonar.db.component;
import com.google.common.base.Preconditions;
import org.sonar.api.resources.Qualifiers;
import org.sonar.api.resources.Scopes;
-import org.sonar.api.utils.internal.Uuids;
+import org.sonar.core.util.Uuids;
import static org.sonar.db.component.ComponentDto.MODULE_UUID_PATH_SEP;
diff --git a/sonar-db/src/test/java/org/sonar/db/permission/PermissionTemplateTesting.java b/sonar-db/src/test/java/org/sonar/db/permission/PermissionTemplateTesting.java
index fc6db6de75c..c8f35799c4c 100644
--- a/sonar-db/src/test/java/org/sonar/db/permission/PermissionTemplateTesting.java
+++ b/sonar-db/src/test/java/org/sonar/db/permission/PermissionTemplateTesting.java
@@ -21,7 +21,7 @@
package org.sonar.db.permission;
import java.util.Date;
-import org.sonar.api.utils.internal.Uuids;
+import org.sonar.core.util.Uuids;
import static org.apache.commons.lang.RandomStringUtils.randomAlphanumeric;
import static org.apache.commons.lang.RandomStringUtils.randomAscii;