From 5bd9ab2d2b96df9ee6d4b28ef14c51bb39375212 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=CC=88rg=20Prante?= Date: Wed, 6 Nov 2019 21:59:08 +0100 Subject: [PATCH] update to jackson 2.9.10, junit 5.5.2 --- .travis.yml | 4 ++++ build.gradle | 6 +++--- gradle.properties | 6 +++--- gradle/wrapper/gradle-wrapper.properties | 5 +++-- net-url/src/main/java/org/xbib/net/QueryParameters.java | 2 +- 5 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b2244db --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +language: java +jdk: + - openjdk11 + diff --git a/build.gradle b/build.gradle index bc565a2..3811658 100644 --- a/build.gradle +++ b/build.gradle @@ -1,8 +1,8 @@ plugins { - id "org.sonarqube" version "2.6.1" - id "io.codearte.nexus-staging" version "0.11.0" - id "com.github.spotbugs" version "2.0.0" + id "org.sonarqube" version "2.8" + id "io.codearte.nexus-staging" version "0.21.1" + id "com.github.spotbugs" version "2.0.1" id "org.xbib.gradle.plugin.asciidoctor" version "1.5.6.0.1" } diff --git a/gradle.properties b/gradle.properties index 20f434f..84e0d6a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,9 +3,9 @@ name = net version = 2.0.3 # test -junit.version = 5.5.1 +junit.version = 5.5.2 hamcrest.version = 2.1 -jackson.version = 2.9.9 +jackson.version = 2.9.10 # doc -asciidoclet.version = 1.5.4 +asciidoclet.version = 1.5.6 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ef9a9e0..e3f2881 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ +#Wed Nov 06 21:26:30 CET 2019 +distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-all.zip distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.6-bin.zip -zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME diff --git a/net-url/src/main/java/org/xbib/net/QueryParameters.java b/net-url/src/main/java/org/xbib/net/QueryParameters.java index 6bdf34f..adc4d21 100644 --- a/net-url/src/main/java/org/xbib/net/QueryParameters.java +++ b/net-url/src/main/java/org/xbib/net/QueryParameters.java @@ -84,7 +84,7 @@ public class QueryParameters extends ArrayList> { add(percentDecoder.decode(pair.getFirst()), percentDecoder.decode(pair.getSecond())); } catch (MalformedInputException | UnmappableCharacterException e) { - throw new IllegalArgumentException(e); + throw new IllegalArgumentException("name=" + pair.getFirst() + " value=" + pair.getSecond(), e); } } s = pairs.getSecond();