Skip to content

Commit

Permalink
Update com.fasterxml.jackson.core to 2.9.8 due to vulnerabilities 2.9.7
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraFiedler committed Jan 9, 2019
1 parent ea0f47d commit f810f2d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The client is available in the [Maven Central Repository](https://mvnrepository.
<dependency>
<groupId>com.recombee</groupId>
<artifactId>api-client</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>
</dependency>
```

Expand All @@ -38,7 +38,7 @@ import java.util.Random;
public class BasicExample {
public static void main(String[] args) {

RecombeeClient client = new RecombeeClient("--my-database-id--", "--my-secret-token--");
RecombeeClient client = new RecombeeClient("--my-database-id--", "--db-private-token--");
try {
client.send(new ResetDatabase());
final int NUM = 100;
Expand Down Expand Up @@ -90,7 +90,7 @@ import java.util.Random;
public class ItemPropertiesExample {
public static void main(String[] args) {

RecombeeClient client = new RecombeeClient("--my-database-id--", "--my-secret-token--");
RecombeeClient client = new RecombeeClient("--my-database-id--", "--db-private-token--");

try {
client.send(new ResetDatabase()); //Clear everything from the database
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.recombee</groupId>
<artifactId>api-client</artifactId>
<version>2.2.1</version>
<version>2.2.2</version>
<name>Recombee API Client</name>
<description>A client library for easy use of the Recombee recommendation API</description>
<url>http://recombee.com</url>
Expand Down Expand Up @@ -45,12 +45,12 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.7</version>
<version>2.9.8</version>
</dependency>
<dependency>
<groupId>junit</groupId>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/recombee/api_client/RecombeeClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public class RecombeeClient {

final int BATCH_MAX_SIZE = 10000; //Maximal number of requests within one batch request

final String USER_AGENT = "recombee-java-api-client/2.2.1";
final String USER_AGENT = "recombee-java-api-client/2.2.2";

private final OkHttpClient httpClient = new OkHttpClient();

Expand Down

0 comments on commit f810f2d

Please sign in to comment.