From f810f2db42065fdbb2a6bba8f8866ecc3c8bb7b1 Mon Sep 17 00:00:00 2001 From: Ondrej Fiedler Date: Wed, 9 Jan 2019 16:47:55 +0100 Subject: [PATCH] Update com.fasterxml.jackson.core to 2.9.8 due to vulnerabilities 2.9.7 --- README.md | 6 +++--- pom.xml | 6 +++--- src/main/java/com/recombee/api_client/RecombeeClient.java | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index e0194f9..b3f2ee4 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ The client is available in the [Maven Central Repository](https://mvnrepository. com.recombee api-client - 2.2.1 + 2.2.2 ``` @@ -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; @@ -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 diff --git a/pom.xml b/pom.xml index 468fa70..4a231ba 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.recombee api-client - 2.2.1 + 2.2.2 Recombee API Client A client library for easy use of the Recombee recommendation API http://recombee.com @@ -45,12 +45,12 @@ com.fasterxml.jackson.core jackson-core - 2.9.7 + 2.9.8 com.fasterxml.jackson.core jackson-databind - 2.9.7 + 2.9.8 junit diff --git a/src/main/java/com/recombee/api_client/RecombeeClient.java b/src/main/java/com/recombee/api_client/RecombeeClient.java index 452b5ea..6a9012d 100644 --- a/src/main/java/com/recombee/api_client/RecombeeClient.java +++ b/src/main/java/com/recombee/api_client/RecombeeClient.java @@ -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();