Skip to content

Commit 48b41a1

Browse files
committed
Update
1 parent 2a8abec commit 48b41a1

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/main/java/Client/SpotifyClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class SpotifyClient extends SpotifyRestAPI{
2424
private Player player;
2525
private Playlist playlist;
2626

27-
public SpotifyClient() throws IOException {
27+
public SpotifyClient(){
2828
super();
2929
this.apiKey = "defaultapikey";
3030
this.secretKey = "defaultsecretkey";

src/main/java/getRequests/Follow.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,15 @@
22

33
import Client.SpotifyClient;
44

5+
import java.io.IOException;
6+
57
public class Follow extends SpotifyClient {
68

79
private String contentType;
810
private String playListId;
911

10-
public Follow(){
12+
public Follow() throws IOException {
1113
super();
12-
1314
}
1415

1516
public String getContentType() {

src/main/java/getRequests/Playlist.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ public class Playlist extends SpotifyClient {
1212
private String name;
1313
private String playlistId;
1414

15-
public Playlist() throws IOException {
15+
public Playlist() {
1616
super();
1717
}
1818

0 commit comments

Comments
 (0)