File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/org/sonarsource/sonarqube/mcp/serverapi Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 24
24
import javax .annotation .CheckForNull ;
25
25
import javax .annotation .Nullable ;
26
26
import org .apache .commons .lang3 .StringUtils ;
27
+ import org .apache .commons .lang3 .Strings ;
27
28
import org .sonarsource .sonarqube .mcp .http .HttpClient ;
28
29
import org .sonarsource .sonarqube .mcp .serverapi .exception .ForbiddenException ;
29
30
import org .sonarsource .sonarqube .mcp .serverapi .exception .NotFoundException ;
@@ -89,7 +90,7 @@ private String buildEndpointUrl(String relativePath) {
89
90
}
90
91
91
92
public static String concat (String baseUrl , String relativePath ) {
92
- return StringUtils .appendIfMissing (baseUrl , "/" ) +
93
+ return Strings . CS .appendIfMissing (baseUrl , "/" ) +
93
94
(relativePath .startsWith ("/" ) ? relativePath .substring (1 ) : relativePath );
94
95
}
95
96
You can’t perform that action at this time.
0 commit comments