Build plan for the main branch

Build: #23 was successful Changes by Mahmoud Ben Hassine and Marten Deinum <[email protected]>

Build result summary

Details

Completed
Duration
5 minutes
Labels
None
Revision
7b2d7d1993b18c3f819bfa49684356072ab5fdc3 7b2d7d1993b18c3f819bfa49684356072ab5fdc3
Total tests
3783
Successful since
#4 ()

Tests

Code commits

Author Commit Message Commit date
Mahmoud Ben Hassine Mahmoud Ben Hassine 7b2d7d1993b18c3f819bfa49684356072ab5fdc3 7b2d7d1993b18c3f819bfa49684356072ab5fdc3 Refine af14a2e4718f7c51411df19a562738a4d136f200
* Make default constructors call other constructors with default values
* Fix formatting
* Update year in license headers
Marten Deinum <mdeinum@gmail.com> Marten Deinum <[email protected]> af14a2e4718f7c51411df19a562738a4d136f200 af14a2e4718f7c51411df19a562738a4d136f200 Provide constructors for injection
Currently when reading/writing JSON and using the reader/marshaller provided
and you want a custom Gson or ObjectMapper instance it still creates the not
needed instance. Move the construction to a constructor and provide a constructor
to directly pass in the pre-configured Gson or ObjectMapper instance.

The same approach is used in Spring itself where Gson or ObjectMapper instances
can be passed in.