rharter / auto-value-gson

AutoValue Extension to add Gson De/Serializer support
Apache License 2.0
607 stars 103 forks source link

Revert default collection PR #221

Closed matt-harris-mc closed 5 years ago

matt-harris-mc commented 5 years ago

Revert "Remove support for @GsonTypeAdapter, empty collection defaults, and mutable adapters (#201)"

This reverts commit 3c386002cb36719213d2cff76cfe37b1bddca4fa and sets the default to true for null collections.

This also updates the version name to have -Mailchimp in the version info to indicate it is a modified version.

Conflicts:

auto-value-gson/src/main/java/com/ryanharter/auto/value/gson/AutoValueGsonExtension.java

auto-value-gson/src/test/java/com/ryanharter/auto/value/gson/AutoValueGsonExtensionTest.java

matt-harris-mc commented 5 years ago

Sorry I was not intending this to create a PR here, apologize for the mistake.