Skip to content

Commit e302e6d

Browse files
authored
Update to latest changes in Web API Reference (#95)
This PR updates to the latest changes in the Web API Reference and migrates away from the fixes as Java Code to declarative patches. Fixes #62
1 parent 75ebd9c commit e302e6d

File tree

73 files changed

+2435
-614
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2435
-614
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ insert_final_newline = true
1111
indent_style = space
1212
indent_size = 4
1313

14-
[*.{yml,yaml,sh}]
14+
[*.{yml,yaml,sh,json}]
1515
indent_size = 2

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>de.sonallux.spotify</groupId>
88
<artifactId>spotify-web-api-parent</artifactId>
9-
<version>2021.8.15</version>
9+
<version>2021.8.23</version>
1010
<packaging>pom</packaging>
1111

1212
<name>spotify-web-api-parent</name>

spotify-web-api-core/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
<parent>
88
<groupId>de.sonallux.spotify</groupId>
99
<artifactId>spotify-web-api-parent</artifactId>
10-
<version>2021.8.15</version>
10+
<version>2021.8.23</version>
1111
<relativePath>../pom.xml</relativePath>
1212
</parent>
1313

1414
<artifactId>spotify-web-api-core</artifactId>
15-
<version>2021.8.15</version>
15+
<version>2021.8.23</version>
1616
<packaging>jar</packaging>
1717

1818
<name>spotify-web-api-core</name>

spotify-web-api-core/src/main/java/de/sonallux/spotify/core/model/SpotifyWebApiObject.java

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,19 @@ public class SpotifyWebApiObject {
1616
@ToString.Include
1717
@EqualsAndHashCode.Include
1818
private String name;
19-
private String id;
2019
private String link;
2120
private List<Property> properties;
2221

23-
public SpotifyWebApiObject(String name, String id, String link) {
24-
this(name, id, link, new ArrayList<>());
25-
}
26-
2722
public SpotifyWebApiObject(String name) {
28-
this(name, null, null, new ArrayList<>());
23+
this(name, null, new ArrayList<>());
2924
}
3025

3126
public SpotifyWebApiObject(String name, String link) {
32-
this(name, null, link, new ArrayList<>());
27+
this(name, link, new ArrayList<>());
3328
}
3429

3530
public SpotifyWebApiObject(String name, List<Property> properties) {
36-
this(name, null, null, properties);
31+
this(name, null, properties);
3732
}
3833

3934
public SpotifyWebApiObject addProperty(Property property) {

0 commit comments

Comments
 (0)