From: Duarte Meneses Date: Fri, 3 Sep 2021 14:41:40 +0000 (-0500) Subject: SONAR-15259 Fix resolution of references and improve code quality X-Git-Tag: 9.1.0.47736~50 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=44e331c87ff60c386455f60476958577f512152c;p=sonarqube.git SONAR-15259 Fix resolution of references and improve code quality --- diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/CreateTableChange.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/CreateTableChange.java index e588d0ea782..d7dedf1330c 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/CreateTableChange.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/step/CreateTableChange.java @@ -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; } diff --git a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v91/CreatePortfoliosTable.java b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v91/CreatePortfoliosTable.java index 26d9035fcbc..3069bb60724 100644 --- a/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v91/CreatePortfoliosTable.java +++ b/server/sonar-db-migration/src/main/java/org/sonar/server/platform/db/migration/version/v91/CreatePortfoliosTable.java @@ -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;