Skip to content

Commit

Permalink
Update to latest changes in Web API Reference (#95)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sonallux committed Aug 23, 2021
1 parent 75ebd9c commit e302e6d
Show file tree
Hide file tree
Showing 73 changed files with 2,435 additions and 614 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ insert_final_newline = true
indent_style = space
indent_size = 4

[*.{yml,yaml,sh}]
[*.{yml,yaml,sh,json}]
indent_size = 2
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>de.sonallux.spotify</groupId>
<artifactId>spotify-web-api-parent</artifactId>
<version>2021.8.15</version>
<version>2021.8.23</version>
<packaging>pom</packaging>

<name>spotify-web-api-parent</name>
Expand Down
4 changes: 2 additions & 2 deletions spotify-web-api-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
<parent>
<groupId>de.sonallux.spotify</groupId>
<artifactId>spotify-web-api-parent</artifactId>
<version>2021.8.15</version>
<version>2021.8.23</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>spotify-web-api-core</artifactId>
<version>2021.8.15</version>
<version>2021.8.23</version>
<packaging>jar</packaging>

<name>spotify-web-api-core</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,19 @@ public class SpotifyWebApiObject {
@ToString.Include
@EqualsAndHashCode.Include
private String name;
private String id;
private String link;
private List<Property> properties;

public SpotifyWebApiObject(String name, String id, String link) {
this(name, id, link, new ArrayList<>());
}

public SpotifyWebApiObject(String name) {
this(name, null, null, new ArrayList<>());
this(name, null, new ArrayList<>());
}

public SpotifyWebApiObject(String name, String link) {
this(name, null, link, new ArrayList<>());
this(name, link, new ArrayList<>());
}

public SpotifyWebApiObject(String name, List<Property> properties) {
this(name, null, null, properties);
this(name, null, properties);
}

public SpotifyWebApiObject addProperty(Property property) {
Expand Down
Loading

0 comments on commit e302e6d

Please sign in to comment.