Skip to content

Commit ae47c95

Browse files
committed
[SoundCloud] Optimize imports in edited files
1 parent 4389fd3 commit ae47c95

3 files changed

Lines changed: 5 additions & 11 deletions

File tree

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@
1515
import org.schabi.newpipe.extractor.stream.StreamInfoItem;
1616
import org.schabi.newpipe.extractor.stream.StreamInfoItemsCollector;
1717

18+
import java.io.IOException;
19+
1820
import javax.annotation.Nonnull;
1921
import javax.annotation.Nullable;
2022

21-
import java.io.IOException;
22-
import java.util.ArrayList;
23-
import java.util.List;
24-
2523
@SuppressWarnings("WeakerAccess")
2624
public class SoundcloudPlaylistExtractor extends PlaylistExtractor {
2725
private static final int streamsPerRequestedPage = 15;

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import com.grack.nanojson.JsonObject;
55
import com.grack.nanojson.JsonParser;
66
import com.grack.nanojson.JsonParserException;
7+
78
import org.schabi.newpipe.extractor.MediaFormat;
89
import org.schabi.newpipe.extractor.NewPipe;
910
import org.schabi.newpipe.extractor.StreamingService;
@@ -15,17 +16,16 @@
1516
import org.schabi.newpipe.extractor.localization.DateWrapper;
1617
import org.schabi.newpipe.extractor.stream.*;
1718

18-
import javax.annotation.Nonnull;
1919
import java.io.IOException;
2020
import java.io.UnsupportedEncodingException;
2121
import java.net.URLEncoder;
22-
import java.text.SimpleDateFormat;
23-
import java.time.format.DateTimeFormatter;
2422
import java.util.ArrayList;
2523
import java.util.Collections;
2624
import java.util.List;
2725
import java.util.Locale;
2826

27+
import javax.annotation.Nonnull;
28+
2929
public class SoundcloudStreamExtractor extends StreamExtractor {
3030
private JsonObject track;
3131

extractor/src/test/java/org/schabi/newpipe/extractor/services/soundcloud/SoundcloudPlaylistExtractorTest.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,14 @@
22

33
import org.hamcrest.CoreMatchers;
44
import org.junit.BeforeClass;
5-
import org.junit.Ignore;
65
import org.junit.Test;
76
import org.schabi.newpipe.DownloaderTestImpl;
87
import org.schabi.newpipe.extractor.ListExtractor;
98
import org.schabi.newpipe.extractor.NewPipe;
10-
import org.schabi.newpipe.extractor.exceptions.ExtractionException;
119
import org.schabi.newpipe.extractor.playlist.PlaylistExtractor;
1210
import org.schabi.newpipe.extractor.services.BasePlaylistExtractorTest;
1311
import org.schabi.newpipe.extractor.stream.StreamInfoItem;
1412

15-
import java.io.IOException;
16-
1713
import static org.junit.Assert.*;
1814
import static org.schabi.newpipe.extractor.ExtractorAsserts.assertIsSecureUrl;
1915
import static org.schabi.newpipe.extractor.ServiceList.SoundCloud;

0 commit comments

Comments
 (0)