diff --git a/serialization/src/main/kotlin/net/corda/serialization/internal/amqp/custom/OptionalSerializer.kt b/serialization/src/main/kotlin/net/corda/serialization/internal/amqp/custom/OptionalSerializer.kt index 632cc4c511..2c2275af8c 100644 --- a/serialization/src/main/kotlin/net/corda/serialization/internal/amqp/custom/OptionalSerializer.kt +++ b/serialization/src/main/kotlin/net/corda/serialization/internal/amqp/custom/OptionalSerializer.kt @@ -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, OptionalSerializer.OptionalProxy>(Optional::class.java, OptionalProxy::class.java, factory) {