]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-15259 Fix resolution of references and improve code quality
authorDuarte Meneses <duarte.meneses@sonarsource.com>
Fri, 3 Sep 2021 14:41:40 +0000 (09:41 -0500)
committersonartech <sonartech@sonarsource.com>
Wed, 8 Sep 2021 20:03:35 +0000 (20:03 +0000)
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/CreateTableChange.java
server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v91/CreatePortfoliosTable.java

index e588d0ea78279b4e7c9baf7f973f94e02e3de601..d7dedf1330c36bc5fb03970ff5b73ce4ca040842 100644 (file)
@@ -26,7 +26,7 @@ import org.sonar.db.DatabaseUtils;
 public abstract class CreateTableChange extends DdlChange {
   protected final String tableName;
 
-  public CreateTableChange(Database db, String tableName) {
+  protected CreateTableChange(Database db, String tableName) {
     super(db);
     this.tableName = tableName;
   }
index 26d9035fcbc1579a86885cd72a192a6a2d508750..3069bb60724a310d9639e8e1114d6187ad1b4095 100644 (file)
@@ -21,7 +21,6 @@ package org.sonar.server.platform.db.migration.version.v91;
 
 import java.sql.SQLException;
 import org.sonar.db.Database;
-import org.sonar.server.platform.db.migration.def.BooleanColumnDef;
 import org.sonar.server.platform.db.migration.sql.CreateTableBuilder;
 import org.sonar.server.platform.db.migration.step.CreateTableChange;