Format the indentation of the definition of the apiUrl string in SoundcloudParsingHelper.resolveFor method

Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
This commit is contained in:
TiA4f8R 2021-05-23 20:27:45 +02:00 committed by GitHub
parent 6b607eb38d
commit a00fdcbd3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -119,8 +119,9 @@ public class SoundcloudParsingHelper {
*/
public static JsonObject resolveFor(@Nonnull final Downloader downloader, final String url)
throws IOException, ExtractionException {
final String apiUrl = SOUNDCLOUD_API_V2_URL + "resolve" + "?url="
+ URLEncoder.encode(url, UTF_8) + "&client_id=" + clientId();
final String apiUrl = SOUNDCLOUD_API_V2_URL + "resolve"
+ "?url=" + URLEncoder.encode(url, UTF_8)
+ "&client_id=" + clientId();
try {
final String response = downloader.get(apiUrl, SoundCloud.getLocalization())