]> source.dussan.org Git - sonarqube.git/commitdiff
NO-JIRA fix quality gate
authorMatteo Mara <matteo.mara@sonarsource.com>
Tue, 2 Jul 2024 08:31:17 +0000 (10:31 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 2 Jul 2024 20:02:40 +0000 (20:02 +0000)
server/sonar-alm-client/src/main/java/org/sonar/alm/client/github/GithubApplicationClientImpl.java

index 9cc631bdda34bb610be4bbab8467575afbff81e2..e26807219a134e2e80b94062f128eb39f04524a3 100644 (file)
@@ -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) {