diff options
author | Alain Kermis <alain.kermis@sonarsource.com> | 2024-12-30 11:10:26 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-12-30 20:03:10 +0000 |
commit | 928e495ba84502a6b95a1bd64ae725f94de89bb6 (patch) | |
tree | 6a0dac3aa707c0b7df88322bc55fc62e114c0a4e | |
parent | 51f072e17213db5376d727c7d99dc27c77831e65 (diff) | |
download | sonarqube-928e495ba84502a6b95a1bd64ae725f94de89bb6.tar.gz sonarqube-928e495ba84502a6b95a1bd64ae725f94de89bb6.zip |
SONAR-24091 Fix quality gate on master
25 files changed, 22 insertions, 56 deletions
diff --git a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubApplicationClientImpl.java b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubApplicationClientImpl.java index f78a8478734..84fb6715433 100644 --- a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubApplicationClientImpl.java +++ b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubApplicationClientImpl.java @@ -53,7 +53,7 @@ import org.sonar.auth.github.GithubBinding.GsonInstallations; import org.sonar.auth.github.GithubBinding.GsonRepositorySearch; import org.sonar.auth.github.GsonRepositoryCollaborator; import org.sonar.auth.github.GsonRepositoryTeam; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.auth.github.security.AccessToken; import org.sonar.auth.github.security.UserAccessToken; import org.sonar.server.exceptions.ServerException; diff --git a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubGlobalSettingsValidator.java b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubGlobalSettingsValidator.java index 780c184612d..60fae79b5c4 100644 --- a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubGlobalSettingsValidator.java +++ b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubGlobalSettingsValidator.java @@ -26,7 +26,7 @@ import org.sonar.api.config.internal.Encryption; import org.sonar.api.config.internal.Settings; import org.sonar.api.server.ServerSide; import org.sonar.auth.github.GithubAppConfiguration; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.db.alm.setting.AlmSettingDto; import static org.apache.commons.lang3.StringUtils.isBlank; diff --git a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/config/GithubProvisioningConfigValidator.java b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/config/GithubProvisioningConfigValidator.java index a7c19cab96a..167107c9b20 100644 --- a/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/config/GithubProvisioningConfigValidator.java +++ b/server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/config/GithubProvisioningConfigValidator.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Optional; import org.sonar.auth.github.GithubAppConfiguration; import org.sonar.auth.github.GithubAppInstallation; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.auth.github.GithubBinding.Permissions; import org.sonar.api.ce.ComputeEngineSide; import org.sonar.api.server.ServerSide; diff --git a/server/sonar-alm-client/src/test/java/org/sonar/alm/client/github/GithubApplicationClientImplTest.java b/server/sonar-alm-client/src/test/java/org/sonar/alm/client/github/GithubApplicationClientImplTest.java index 28f3fdb5b93..56a63e03aea 100644 --- a/server/sonar-alm-client/src/test/java/org/sonar/alm/client/github/GithubApplicationClientImplTest.java +++ b/server/sonar-alm-client/src/test/java/org/sonar/alm/client/github/GithubApplicationClientImplTest.java @@ -53,7 +53,7 @@ import org.sonar.auth.github.GithubBinding; import org.sonar.auth.github.GsonRepositoryCollaborator; import org.sonar.auth.github.GsonRepositoryPermissions; import org.sonar.auth.github.GsonRepositoryTeam; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.auth.github.security.AccessToken; import org.sonar.auth.github.security.UserAccessToken; import org.sonarqube.ws.client.HttpException; diff --git a/server/sonar-alm-client/src/test/java/org/sonar/alm/client/github/config/GithubProvisioningConfigValidatorTest.java b/server/sonar-alm-client/src/test/java/org/sonar/alm/client/github/config/GithubProvisioningConfigValidatorTest.java index 966fe6db701..cce8a4afbf2 100644 --- a/server/sonar-alm-client/src/test/java/org/sonar/alm/client/github/config/GithubProvisioningConfigValidatorTest.java +++ b/server/sonar-alm-client/src/test/java/org/sonar/alm/client/github/config/GithubProvisioningConfigValidatorTest.java @@ -29,7 +29,7 @@ import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; import org.sonar.auth.github.GithubAppConfiguration; import org.sonar.auth.github.GithubAppInstallation; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.auth.github.GithubBinding.GsonApp; import org.sonar.auth.github.GithubBinding.Permissions; import org.sonar.auth.github.GitHubSettings; diff --git a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/AppInstallationTokenGenerator.java b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/AppInstallationTokenGenerator.java index 005bab043ce..0e4308856e6 100644 --- a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/AppInstallationTokenGenerator.java +++ b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/AppInstallationTokenGenerator.java @@ -20,7 +20,6 @@ package org.sonar.auth.github; import org.sonar.api.ce.ComputeEngineSide; -import org.sonar.auth.github.client.GithubApplicationClient; import static java.lang.Long.parseLong; import static java.lang.String.format; diff --git a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java index 5d8fbca23e6..ae7d67e40ae 100644 --- a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java +++ b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubIdentityProvider.java @@ -31,7 +31,6 @@ import org.sonar.api.server.authentication.OAuth2IdentityProvider; import org.sonar.api.server.authentication.UnauthorizedException; import org.sonar.api.server.authentication.UserIdentity; import org.sonar.api.server.http.HttpRequest; -import org.sonar.auth.github.client.GithubApplicationClient; import org.sonar.auth.github.scribe.ScribeServiceBuilder; import static com.google.common.base.Preconditions.checkState; diff --git a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/client/GithubApplicationClient.java b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GithubApplicationClient.java index a2b41e081a3..78d26725201 100644 --- a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/client/GithubApplicationClient.java +++ b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GithubApplicationClient.java @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software Foundation, * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -package org.sonar.auth.github.client; +package org.sonar.auth.github; import com.google.gson.annotations.SerializedName; import java.util.List; @@ -27,12 +27,6 @@ import javax.annotation.CheckForNull; import javax.annotation.Nullable; import javax.annotation.concurrent.Immutable; import org.sonar.api.server.ServerSide; -import org.sonar.auth.github.ExpiringAppInstallationToken; -import org.sonar.auth.github.GithubAppConfiguration; -import org.sonar.auth.github.GithubAppInstallation; -import org.sonar.auth.github.GithubBinding; -import org.sonar.auth.github.GsonRepositoryCollaborator; -import org.sonar.auth.github.GsonRepositoryTeam; import org.sonar.auth.github.security.AccessToken; import org.sonar.auth.github.security.UserAccessToken; diff --git a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GithubBinding.java b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GithubBinding.java index 70faf9c5562..42110ced47f 100644 --- a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GithubBinding.java +++ b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GithubBinding.java @@ -24,7 +24,7 @@ import java.util.List; import javax.annotation.CheckForNull; import javax.annotation.Nullable; -import static org.sonar.auth.github.client.GithubApplicationClient.Repository; +import static org.sonar.auth.github.GithubApplicationClient.Repository; public class GithubBinding { diff --git a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/client/package-info.java b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/client/package-info.java deleted file mode 100644 index 6b632a6238d..00000000000 --- a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/client/package-info.java +++ /dev/null @@ -1,23 +0,0 @@ -/* - * SonarQube - * Copyright (C) 2009-2024 SonarSource SA - * mailto:info AT sonarsource DOT com - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 3 of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the Free Software Foundation, - * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - */ -@ParametersAreNonnullByDefault -package org.sonar.auth.github.client; - -import javax.annotation.ParametersAreNonnullByDefault; diff --git a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/AppInstallationTokenGeneratorTest.java b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/AppInstallationTokenGeneratorTest.java index 5e508f0c029..38857b5ba74 100644 --- a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/AppInstallationTokenGeneratorTest.java +++ b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/AppInstallationTokenGeneratorTest.java @@ -26,7 +26,6 @@ import org.junit.runner.RunWith; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.MockitoJUnitRunner; -import org.sonar.auth.github.client.GithubApplicationClient; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatExceptionOfType; diff --git a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java index 774daaca488..f6755abcea8 100644 --- a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java +++ b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GitHubIdentityProviderTest.java @@ -30,7 +30,6 @@ import org.sonar.api.server.authentication.UnauthorizedException; import org.sonar.api.server.authentication.UserIdentity; import org.sonar.api.server.http.HttpRequest; import org.sonar.auth.github.GithubBinding.Permissions; -import org.sonar.auth.github.client.GithubApplicationClient; import org.sonar.auth.github.scribe.ScribeServiceBuilder; import org.sonar.db.DbClient; import org.sonar.server.property.InternalProperties; diff --git a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java index 8662be1ce76..5762c2d2112 100644 --- a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java +++ b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/IntegrationTest.java @@ -40,7 +40,6 @@ import org.sonar.api.server.authentication.UserIdentity; import org.sonar.api.server.http.HttpRequest; import org.sonar.api.server.http.HttpResponse; import org.sonar.api.utils.System2; -import org.sonar.auth.github.client.GithubApplicationClient; import org.sonar.auth.github.scribe.ScribeServiceBuilder; import org.sonar.db.DbTester; import org.sonar.server.http.JakartaHttpRequest; diff --git a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubDevOpsProjectCreationContextService.java b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubDevOpsProjectCreationContextService.java index db83c9b7ae7..26891b8e58a 100644 --- a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubDevOpsProjectCreationContextService.java +++ b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubDevOpsProjectCreationContextService.java @@ -20,7 +20,7 @@ package org.sonar.server.common.almsettings.github; import org.sonar.api.server.ServerSide; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.auth.github.security.AccessToken; import org.sonar.auth.github.security.UserAccessToken; import org.sonar.db.DbClient; diff --git a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreator.java b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreator.java index e44c0debdb5..0a618d90920 100644 --- a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreator.java +++ b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreator.java @@ -28,7 +28,7 @@ import org.sonar.auth.github.AppInstallationToken; import org.sonar.auth.github.GsonRepositoryCollaborator; import org.sonar.auth.github.GsonRepositoryPermissions; import org.sonar.auth.github.GsonRepositoryTeam; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.db.DbClient; import org.sonar.db.provisioning.DevOpsPermissionsMappingDto; import org.sonar.db.user.GroupDto; diff --git a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactory.java b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactory.java index 59c4c54a8ae..c3765859a69 100644 --- a/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactory.java +++ b/server/sonar-webserver-common/src/main/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactory.java @@ -29,7 +29,7 @@ import org.sonar.api.server.ServerSide; import org.sonar.auth.github.AppInstallationToken; import org.sonar.auth.github.GitHubSettings; import org.sonar.auth.github.GithubAppConfiguration; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.db.DbClient; import org.sonar.db.DbSession; import org.sonar.db.alm.setting.ALM; diff --git a/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubDevOpsProjectCreationContextServiceTest.java b/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubDevOpsProjectCreationContextServiceTest.java index b37660ae95f..4f01f5e25da 100644 --- a/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubDevOpsProjectCreationContextServiceTest.java +++ b/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubDevOpsProjectCreationContextServiceTest.java @@ -26,8 +26,8 @@ import org.mockito.Answers; import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; -import org.sonar.auth.github.client.GithubApplicationClient; -import org.sonar.auth.github.client.GithubApplicationClient.Repository; +import org.sonar.auth.github.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient.Repository; import org.sonar.auth.github.security.UserAccessToken; import org.sonar.db.DbClient; import org.sonar.db.alm.pat.AlmPatDto; diff --git a/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactoryTest.java b/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactoryTest.java index 95a409a5705..e0ff70cb457 100644 --- a/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactoryTest.java +++ b/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorFactoryTest.java @@ -33,7 +33,7 @@ import org.sonar.alm.client.github.GithubPermissionConverter; import org.sonar.auth.github.AppInstallationToken; import org.sonar.auth.github.ExpiringAppInstallationToken; import org.sonar.auth.github.GitHubSettings; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.db.DbClient; import org.sonar.db.DbSession; import org.sonar.db.alm.pat.AlmPatDto; diff --git a/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorTest.java b/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorTest.java index 733d6502aab..c8c81fffa23 100644 --- a/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorTest.java +++ b/server/sonar-webserver-common/src/test/java/org/sonar/server/common/almsettings/github/GithubProjectCreatorTest.java @@ -35,7 +35,7 @@ import org.sonar.auth.github.GitHubSettings; import org.sonar.auth.github.GsonRepositoryCollaborator; import org.sonar.auth.github.GsonRepositoryPermissions; import org.sonar.auth.github.GsonRepositoryTeam; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.db.DbClient; import org.sonar.db.alm.setting.ALM; import org.sonar.db.alm.setting.AlmSettingDto; diff --git a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java index b538edfe1e3..a2105d8bfff 100644 --- a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ImportGithubProjectActionIT.java @@ -34,7 +34,7 @@ import org.sonar.auth.github.ExpiringAppInstallationToken; import org.sonar.auth.github.GitHubSettings; import org.sonar.auth.github.GsonRepositoryCollaborator; import org.sonar.auth.github.GsonRepositoryPermissions; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.core.i18n.I18n; import org.sonar.core.platform.EditionProvider; import org.sonar.core.platform.PlatformEditionProvider; diff --git a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionIT.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionIT.java index 079078606d4..c3d0a6b634f 100644 --- a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionIT.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsActionIT.java @@ -24,7 +24,7 @@ import org.junit.BeforeClass; import org.junit.Rule; import org.junit.Test; import org.mockito.Mockito; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.alm.client.github.GithubApplicationClientImpl; import org.sonar.auth.github.security.UserAccessToken; import org.sonar.api.config.internal.Encryption; diff --git a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionIT.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionIT.java index 53007fe1a4e..3954c276f72 100644 --- a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionIT.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesActionIT.java @@ -22,7 +22,7 @@ package org.sonar.server.almintegration.ws.github; import java.util.stream.Stream; import org.junit.Rule; import org.junit.Test; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.alm.client.github.GithubApplicationClientImpl; import org.sonar.api.utils.System2; import org.sonar.db.DbTester; diff --git a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java index 6094c5f2b46..52443941980 100644 --- a/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java +++ b/server/sonar-webserver-webapi/src/it/java/org/sonar/server/ce/queue/ReportSubmitterIT.java @@ -30,7 +30,7 @@ import org.junit.Test; import org.sonar.alm.client.github.GithubGlobalSettingsValidator; import org.sonar.api.utils.System2; import org.sonar.auth.github.GitHubSettings; -import org.sonar.auth.github.client.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient; import org.sonar.ce.queue.CeQueue; import org.sonar.ce.queue.CeQueueImpl; import org.sonar.ce.queue.CeTaskSubmit; diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsAction.java index 203f52c959d..750ced51e9e 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ListGithubOrganizationsAction.java @@ -21,8 +21,8 @@ package org.sonar.server.almintegration.ws.github; import java.util.List; import java.util.Optional; -import org.sonar.auth.github.client.GithubApplicationClient; -import org.sonar.auth.github.client.GithubApplicationClient.Organization; +import org.sonar.auth.github.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient.Organization; import org.sonar.alm.client.github.GithubApplicationClientImpl; import org.sonar.auth.github.security.AccessToken; import org.sonar.auth.github.security.UserAccessToken; diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesAction.java index 352aeaeca17..9e702521623 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/almintegration/ws/github/ListGithubRepositoriesAction.java @@ -27,8 +27,8 @@ import java.util.Set; import java.util.function.BinaryOperator; import java.util.function.Function; import java.util.stream.Collectors; -import org.sonar.auth.github.client.GithubApplicationClient; -import org.sonar.auth.github.client.GithubApplicationClient.Repository; +import org.sonar.auth.github.GithubApplicationClient; +import org.sonar.auth.github.GithubApplicationClient.Repository; import org.sonar.alm.client.github.GithubApplicationClientImpl; import org.sonar.auth.github.security.AccessToken; import org.sonar.auth.github.security.UserAccessToken; |