aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-alm-client
diff options
context:
space:
mode:
authorMatteo Mara <matteo.mara@sonarsource.com>2024-07-02 10:31:17 +0200
committersonartech <sonartech@sonarsource.com>2024-07-02 20:02:40 +0000
commit2c38333e995dcc565064d1f9a86830439671a51d (patch)
tree3176ff85d46a3bd4319c286532373fe4ab82df00 /server/sonar-alm-client
parentb51ea96fe4f0f2259e6875fb7482d181cdc6f934 (diff)
downloadsonarqube-2c38333e995dcc565064d1f9a86830439671a51d.tar.gz
sonarqube-2c38333e995dcc565064d1f9a86830439671a51d.zip
NO-JIRA fix quality gate
Diffstat (limited to 'server/sonar-alm-client')
-rw-r--r--server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubApplicationClientImpl.java3
1 files changed, 1 insertions, 2 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 9cc631bdda3..e26807219a1 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
@@ -22,7 +22,6 @@ package org.sonar.alm.client.github;
import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
import java.io.IOException;
-import java.lang.reflect.Type;
import java.net.URI;
import java.util.Arrays;
import java.util.HashMap;
@@ -234,7 +233,7 @@ public class GithubApplicationClientImpl implements GithubApplicationClient {
Long.toString(gsonInstallation.getId()),
gsonInstallation.getAccount().getLogin(),
gsonInstallation.getPermissions(),
- org.apache.commons.lang3.StringUtils.isNotEmpty(gsonInstallation.getSuspendedAt()));
+ StringUtils.isNotEmpty(gsonInstallation.getSuspendedAt()));
}
private static boolean isOrganizationWhiteListed(Set<String> allowedOrganizations, String organizationName) {