This is an automated email from the ASF dual-hosted git repository.
fanningpj pushed a commit to branch 1.0.x
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git
The following commit(s) were added to refs/heads/1.0.x by this push:
new 0765cd6120 fix incorrect config name (serialization-jackson) (#567)
(#568)
0765cd6120 is described below
commit 0765cd612005433b464f20e49abc4870f22abcf2
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Aug 14 11:46:56 2023 +0100
fix incorrect config name (serialization-jackson) (#567) (#568)
* fix incorrect config name
* Update JacksonObjectMapperProvider.scala
---
.../pekko/serialization/jackson/JacksonObjectMapperProvider.scala | 4 ++--
.../org/apache/pekko/serialization/jackson/JacksonSerializer.scala | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git
a/serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala
b/serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala
index 600f440082..74c2dd75b1 100644
---
a/serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala
+++
b/serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonObjectMapperProvider.scala
@@ -230,7 +230,7 @@ object JacksonObjectMapperProvider extends
ExtensionId[JacksonObjectMapperProvid
e,
s"Could not load configured Jackson module [$fqcn], " +
"please verify classpath dependencies or amend the
configuration " +
- "[pekko.serialization.jackson-modules]. Continuing without
this module."))
+ "[pekko.serialization.jackson.jackson-modules]. Continuing
without this module."))
None
}
} else
@@ -303,7 +303,7 @@ object JacksonObjectMapperProvider extends
ExtensionId[JacksonObjectMapperProvid
}
/**
- * Registry of shared `ObjectMapper` instances, each with it's unique
`bindingName`.
+ * Registry of shared `ObjectMapper` instances, each with its unique
`bindingName`.
*/
final class JacksonObjectMapperProvider(system: ExtendedActorSystem) extends
Extension {
private val objectMappers = new ConcurrentHashMap[String, ObjectMapper]
diff --git
a/serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala
b/serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala
index 1309759fb7..a400ba0de6 100644
---
a/serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala
+++
b/serialization-jackson/src/main/scala/org/apache/pekko/serialization/jackson/JacksonSerializer.scala
@@ -464,7 +464,7 @@ import pekko.util.OptionVal
private def isBoundToJacksonSerializer(clazz: Class[_]): Boolean = {
try {
// The reason for using isInstanceOf rather than `eq this` is to allow
change of
- // serializizer within the Jackson family, but we don't trust other
serializers
+ // serializer within the Jackson family, but we don't trust other
serializers
// because they might be bound to open-ended interfaces like
java.io.Serializable.
val boundSerializer = serialization.serializerFor(clazz)
boundSerializer.isInstanceOf[JacksonSerializer]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]