aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-bitbucket
diff options
context:
space:
mode:
authorWojtek Wajerowicz <115081248+wojciech-wajerowicz-sonarsource@users.noreply.github.com>2023-06-13 14:11:28 +0200
committersonartech <sonartech@sonarsource.com>2023-06-13 20:03:37 +0000
commit6c88709145ecf40500f5600d420e04c537f4c0a0 (patch)
tree5cca9ab49cb7335eb92ffe82025119b3441ac091 /server/sonar-auth-bitbucket
parent64ae11abcdc2117c247a5364f2543144789ab175 (diff)
downloadsonarqube-6c88709145ecf40500f5600d420e04c537f4c0a0.tar.gz
sonarqube-6c88709145ecf40500f5600d420e04c537f4c0a0.zip
[NOJIRA] Remove usage of deprecated Loggers. (#8527)
Diffstat (limited to 'server/sonar-auth-bitbucket')
-rwxr-xr-xserver/sonar-auth-bitbucket/src/main/java/org/sonar/auth/bitbucket/BitbucketIdentityProvider.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-auth-bitbucket/src/main/java/org/sonar/auth/bitbucket/BitbucketIdentityProvider.java b/server/sonar-auth-bitbucket/src/main/java/org/sonar/auth/bitbucket/BitbucketIdentityProvider.java
index 58dd889d670..c540c5ead33 100755
--- a/server/sonar-auth-bitbucket/src/main/java/org/sonar/auth/bitbucket/BitbucketIdentityProvider.java
+++ b/server/sonar-auth-bitbucket/src/main/java/org/sonar/auth/bitbucket/BitbucketIdentityProvider.java
@@ -39,8 +39,8 @@ 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.api.utils.log.Logger;
-import org.sonar.api.utils.log.Loggers;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import static com.google.common.base.Preconditions.checkState;
import static java.lang.String.format;
@@ -50,7 +50,7 @@ import static java.util.stream.Collectors.toSet;
@ServerSide
public class BitbucketIdentityProvider implements OAuth2IdentityProvider {
- private static final Logger LOGGER = Loggers.get(BitbucketIdentityProvider.class);
+ private static final Logger LOGGER = LoggerFactory.getLogger(BitbucketIdentityProvider.class);
public static final String REQUIRED_SCOPE = "account";
public static final String KEY = "bitbucket";