Skip to content

Commit a00fdcb

Browse files
AudricVTobiGr
andauthored
Format the indentation of the definition of the apiUrl string in SoundcloudParsingHelper.resolveFor method
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
1 parent 6b607eb commit a00fdcb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudParsingHelper.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ public static OffsetDateTime parseDateFrom(final String textualUploadDate)
119119
*/
120120
public static JsonObject resolveFor(@Nonnull final Downloader downloader, final String url)
121121
throws IOException, ExtractionException {
122-
final String apiUrl = SOUNDCLOUD_API_V2_URL + "resolve" + "?url="
123-
+ URLEncoder.encode(url, UTF_8) + "&client_id=" + clientId();
122+
final String apiUrl = SOUNDCLOUD_API_V2_URL + "resolve"
123+
+ "?url=" + URLEncoder.encode(url, UTF_8)
124+
+ "&client_id=" + clientId();
124125

125126
try {
126127
final String response = downloader.get(apiUrl, SoundCloud.getLocalization())

0 commit comments

Comments
 (0)