Skip to content
Permalink
Browse files

Gradle: Upgrade Jackson to version 2.10.0

See https://github.com/FasterXML/jackson/wiki/Jackson-Release-2.10.

This version changed the return value of readTree() for an empty string:
Where previously null was returned, now MissingNode is return. Rewrite a
check so that it would work for both behaviors.

Signed-off-by: Sebastian Schuberth <sebastian.schuberth@bosch-si.com>
  • Loading branch information...
sschuberth committed Sep 27, 2019
1 parent cb813c7 commit bdab744db4deda7bbcd4afed6a9cf7ca30cdb72a
Showing with 2 additions and 2 deletions.
  1. +1 −1 analyzer/src/main/kotlin/managers/utils/DotNetSupport.kt
  2. +1 −1 gradle.properties
@@ -246,7 +246,7 @@ class DotNetSupport(packageReferencesMap: Map<String, String>) {

val node = jsonMapper.readTree(registrationInfo)

return if (node != null) {
return if (node?.isMissingNode == false) {
Pair(getNuspecURL(node), getCatalogURL(node))
} else {
null
@@ -16,7 +16,7 @@ digraphVersion = 1.0
disklrucacheVersion = 2.0.2
flexmarkVersion = 0.50.40
hamcrestCoreVersion = 1.3
jacksonVersion = 2.9.10
jacksonVersion = 2.10.0
jcommanderVersion = 1.78
kotlintestVersion = 3.4.2
kotlinxCoroutinesVersion = 1.3.2

0 comments on commit bdab744

Please sign in to comment.
You can’t perform that action at this time.