From 4592d635902de23b402a28787a8468ba1ac3a3a4 Mon Sep 17 00:00:00 2001 From: Matteo Mara Date: Fri, 8 Mar 2024 18:08:49 +0100 Subject: SONAR-21452 move from commons-lang:commons-lang to org.apache.commons:commons-lang3 --- .../src/main/java/org/sonar/auth/github/GitHubSettings.java | 2 +- .../test/java/org/sonar/auth/github/GithubAppConfigurationTest.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'server/sonar-auth-github/src') 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; -- cgit v1.2.3