This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 02595bbfd4 fix incorrect config name (serialization-jackson) (#567)
02595bbfd4 is described below

commit 02595bbfd4ee9ec45e86a1b8a0a2f944f690fcfa
Author: PJ Fanning <[email protected]>
AuthorDate: Mon Aug 14 09:22:37 2023 +0100

    fix incorrect config name (serialization-jackson) (#567)
    
    * 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]

Reply via email to