mirror of
https://github.com/corda/corda.git
synced 2025-01-18 18:56:28 +00:00
documentation adapted for OptionSerializer (#4522)
This commit is contained in:
parent
eea348768b
commit
ef1462ee5e
@ -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) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user