documentation adapted for OptionSerializer (#4522)

This commit is contained in:
Lorenz aka Lolo Hänggi 2019-01-08 12:07:59 +01:00 committed by Joel Dudley
parent eea348768b
commit ef1462ee5e

View File

@ -7,7 +7,7 @@ import java.time.OffsetTime
import java.util.*
/**
* A serializer for [OffsetTime] that uses a proxy object to write out the time and zone offset.
* A serializer for [Optional] that uses a proxy object to write out the value stored in the optional or [Optional.EMPTY].
*/
class OptionalSerializer(factory: SerializerFactory) : CustomSerializer.Proxy<Optional<*>, OptionalSerializer.OptionalProxy>(Optional::class.java, OptionalProxy::class.java, factory) {