Skip to content

Commit 34f9d3f

Browse files
committed
Code cleanup
1 parent b77c72f commit 34f9d3f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -37,23 +37,23 @@ private ServiceList() {
3737
//no instance
3838
}
3939

40-
public static final YoutubeService YouTube;
41-
public static final SoundcloudService SoundCloud;
42-
public static final MediaCCCService MediaCCC;
43-
public static final PeertubeService PeerTube;
44-
public static final BandcampService Bandcamp;
40+
public static final YoutubeService YouTube = new YoutubeService(0);
41+
public static final SoundcloudService SoundCloud = new SoundcloudService(1);
42+
public static final MediaCCCService MediaCCC = new MediaCCCService(2);
43+
public static final PeertubeService PeerTube = new PeertubeService(3);
44+
public static final BandcampService Bandcamp = new BandcampService(4);
4545

4646
/**
4747
* When creating a new service, put this service in the end of this list,
4848
* and give it the next free id.
4949
*/
5050
private static final List<StreamingService> SERVICES = Collections.unmodifiableList(
5151
Arrays.asList(
52-
YouTube = new YoutubeService(0),
53-
SoundCloud = new SoundcloudService(1),
54-
MediaCCC = new MediaCCCService(2),
55-
PeerTube = new PeertubeService(3),
56-
Bandcamp = new BandcampService(4)
52+
YouTube,
53+
SoundCloud,
54+
MediaCCC,
55+
PeerTube,
56+
Bandcamp
5757
));
5858

5959
/**

0 commit comments

Comments
 (0)