Skip to content

Commit e4e6d44

Browse files
committed
reordered services
1 parent aabc65b commit e4e6d44

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/ServiceList.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ private ServiceList() {
3737

3838
public static final YoutubeService YouTube;
3939
public static final SoundcloudService SoundCloud;
40-
public static final PeertubeService PeerTube;
4140
public static final MediaCCCService MediaCCC;
41+
public static final PeertubeService PeerTube;
4242

4343
/**
4444
* When creating a new service, put this service in the end of this list,
@@ -48,8 +48,8 @@ private ServiceList() {
4848
Arrays.asList(
4949
YouTube = new YoutubeService(0),
5050
SoundCloud = new SoundcloudService(1),
51-
PeerTube = new PeertubeService(2),
52-
MediaCCC = new MediaCCCService(3)
51+
MediaCCC = new MediaCCCService(2),
52+
PeerTube = new PeertubeService(3)
5353
));
5454

5555
/**

extractor/src/test/java/org/schabi/newpipe/extractor/services/media_ccc/MediaCCCSearchExtractorEventsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public void testCount() throws Exception {
4444

4545
@Test
4646
public void testServiceId() throws Exception {
47-
assertEquals(3, extractor.getServiceId());
47+
assertEquals(2, extractor.getServiceId());
4848
}
4949

5050
@Test

0 commit comments

Comments
 (0)