File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
main/java/org/msgpack/jackson/dataformat
test/java/org/msgpack/jackson/dataformat Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 2424public class MessagePackSerializerFactory
2525 extends BeanSerializerFactory
2626{
27+ /**
28+ * Constructor for creating instances without configuration.
29+ */
30+ public MessagePackSerializerFactory ()
31+ {
32+ super (null );
33+ }
34+
2735 /**
2836 * Constructor for creating instances with specified configuration.
2937 *
3038 * @param config
3139 */
32- protected MessagePackSerializerFactory (SerializerFactoryConfig config )
40+ public MessagePackSerializerFactory (SerializerFactoryConfig config )
3341 {
3442 super (config );
3543 }
Original file line number Diff line number Diff line change @@ -655,7 +655,7 @@ public void testNonStringKey()
655655
656656 ObjectMapper objectMapper = new ObjectMapper (new MessagePackFactory ());
657657 if (mapHolder instanceof NonStringKeyMapHolderWithoutAnnotation ) {
658- objectMapper .setSerializerFactory (new MessagePackSerializerFactory (null ));
658+ objectMapper .setSerializerFactory (new MessagePackSerializerFactory ());
659659 }
660660
661661 byte [] bytes = objectMapper .writeValueAsBytes (mapHolder );
You can’t perform that action at this time.
0 commit comments