Skip to content

Commit d6c778b

Browse files
committed
Update for 2.6.5
1 parent 8aab725 commit d6c778b

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

build.sbt

+7-7
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ scalacOptions += "-target:jvm-1.6"
2727

2828
libraryDependencies ++= Seq(
2929
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
30-
"com.fasterxml.jackson.core" % "jackson-core" % "2.6.4",
31-
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.6.4",
32-
"com.fasterxml.jackson.core" % "jackson-databind" % "2.6.4",
33-
"com.fasterxml.jackson.module" % "jackson-module-paranamer" % "2.6.4",
30+
"com.fasterxml.jackson.core" % "jackson-core" % "2.6.5",
31+
"com.fasterxml.jackson.core" % "jackson-annotations" % "2.6.5",
32+
"com.fasterxml.jackson.core" % "jackson-databind" % "2.6.5",
33+
"com.fasterxml.jackson.module" % "jackson-module-paranamer" % "2.6.5",
3434
// test dependencies
35-
"com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % "2.6.4" % "test",
36-
"com.fasterxml.jackson.datatype" % "jackson-datatype-guava" % "2.6.4" % "test",
37-
"com.fasterxml.jackson.module" % "jackson-module-jsonSchema" % "2.6.4" % "test",
35+
"com.fasterxml.jackson.datatype" % "jackson-datatype-joda" % "2.6.5" % "test",
36+
"com.fasterxml.jackson.datatype" % "jackson-datatype-guava" % "2.6.5" % "test",
37+
"com.fasterxml.jackson.module" % "jackson-module-jsonSchema" % "2.6.5" % "test",
3838
"org.scalatest" %% "scalatest" % "2.2.1" % "test",
3939
"junit" % "junit" % "4.11" % "test"
4040
)

src/test/scala/com/fasterxml/jackson/module/scala/deser/CreatorTest.scala

+5-5
Original file line numberDiff line numberDiff line change
@@ -48,16 +48,16 @@ class CreatorTest extends DeserializationFixture {
4848
}
4949

5050
it should "work with static method creator" in { f =>
51-
val json = """{"valueHolder": "2"}"""
51+
val json = "\"2\""
5252

5353
val regularObjectMapper = new ObjectMapper()
5454

5555
// Using regular objectMapper
56-
val bean1 = regularObjectMapper.readValue(json, classOf[UserOfValueHolder])
57-
bean1.getValueHolder.internalValue shouldEqual 2L
56+
val v1 = regularObjectMapper.readValue(json, classOf[ValueHolder])
57+
v1.internalValue shouldEqual 2L
5858

5959
// Using objectMapper with DefaultScalaModule
60-
val bean2 = f.readValue[UserOfValueHolder](json)
61-
bean2.getValueHolder.internalValue shouldEqual 2L
60+
val v2 = f.readValue[ValueHolder](json)
61+
v2.internalValue shouldEqual 2L
6262
}
6363
}

0 commit comments

Comments
 (0)