aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-15 15:34:34 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-15 18:19:02 +0200
commit021db4f2a3a7fab4f850f0fc715f21503e0fc3ab (patch)
tree3e023a449114d31c3dab6882b5979d7faeea16ec /sonar-core
parentb43c8ff81c44c5f6e61e76192c32980d6a044db1 (diff)
downloadsonarqube-021db4f2a3a7fab4f850f0fc715f21503e0fc3ab.tar.gz
sonarqube-021db4f2a3a7fab4f850f0fc715f21503e0fc3ab.zip
Fix quality flaws
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java b/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java
index 54744b10b6f..d12f3fa1e49 100644
--- a/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java
+++ b/sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java
@@ -28,12 +28,16 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.sonar.api.config.Settings;
import org.sonar.api.database.DatabaseProperties;
-import org.sonar.core.persistence.dialect.*;
+import org.sonar.core.persistence.dialect.Dialect;
+import org.sonar.core.persistence.dialect.DialectUtils;
+import org.sonar.core.persistence.dialect.H2;
+import org.sonar.core.persistence.dialect.Oracle;
+import org.sonar.core.persistence.dialect.PostgreSql;
import org.sonar.jpa.session.CustomHibernateConnectionProvider;
import javax.sql.DataSource;
+
import java.sql.SQLException;
-import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.Properties;