aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-auth-github/src
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2024-03-08 18:08:49 +0100
committersonartech <sonartech@sonarsource.com>2024-03-16 20:02:46 +0000
commit4592d635902de23b402a28787a8468ba1ac3a3a4 (patch)
tree2561ce21fbcd2fb14f77daa1e28f32b815291f1e /server/sonar-auth-github/src
parent4f2cb04c5da8b5b07c459afdb6d777b29db779b5 (diff)
downloadsonarqube-4592d635902de23b402a28787a8468ba1ac3a3a4.tar.gz
sonarqube-4592d635902de23b402a28787a8468ba1ac3a3a4.zip
SONAR-21452 move from commons-lang:commons-lang to org.apache.commons:commons-lang3
Diffstat (limited to 'server/sonar-auth-github/src')
-rw-r--r--server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubSettings.java2
-rw-r--r--server/sonar-auth-github/src/test/java/org/sonar/auth/github/GithubAppConfigurationTest.java4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubSettings.java b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubSettings.java
index d1d9e32f03a..90e49d11556 100644
--- a/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubSettings.java
+++ b/server/sonar-auth-github/src/main/java/org/sonar/auth/github/GitHubSettings.java
@@ -38,7 +38,7 @@ import org.sonar.server.property.InternalProperties;
import static java.lang.String.format;
import static java.lang.String.valueOf;
-import static org.apache.commons.lang.StringUtils.isNotBlank;
+import static org.apache.commons.lang3.StringUtils.isNotBlank;
import static org.sonar.api.PropertyType.BOOLEAN;
import static org.sonar.api.PropertyType.PASSWORD;
import static org.sonar.api.PropertyType.STRING;
diff --git a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GithubAppConfigurationTest.java b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GithubAppConfigurationTest.java
index 4426514d2f3..7c17bcd0ed6 100644
--- a/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GithubAppConfigurationTest.java
+++ b/server/sonar-auth-github/src/test/java/org/sonar/auth/github/GithubAppConfigurationTest.java
@@ -25,11 +25,11 @@ import com.tngtech.java.junit.dataprovider.UseDataProvider;
import java.util.Random;
import java.util.stream.Stream;
import javax.annotation.Nullable;
-import org.apache.commons.lang.ArrayUtils;
+import org.apache.commons.lang3.ArrayUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
-import static org.apache.commons.lang.RandomStringUtils.randomAlphabetic;
+import static org.apache.commons.lang3.RandomStringUtils.randomAlphabetic;
import static org.assertj.core.api.Assertions.assertThat;
import static org.assertj.core.api.Assertions.assertThatThrownBy;