This is an automated email from the ASF dual-hosted git repository. hepin pushed a commit to branch typo in repository https://gitbox.apache.org/repos/asf/pekko.git
commit 8f5f9b6b19a93a630373cee05b51d2950c350bd9 Author: He-Pin <[email protected]> AuthorDate: Sat Nov 8 13:22:29 2025 +0800 chore: Fix typo of OptionVal's scaladoc --- actor/src/main/scala/org/apache/pekko/util/OptionVal.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/actor/src/main/scala/org/apache/pekko/util/OptionVal.scala b/actor/src/main/scala/org/apache/pekko/util/OptionVal.scala index 41abfd18fe..22c2db7781 100644 --- a/actor/src/main/scala/org/apache/pekko/util/OptionVal.scala +++ b/actor/src/main/scala/org/apache/pekko/util/OptionVal.scala @@ -49,13 +49,13 @@ private[pekko] object OptionVal { private[pekko] final class OptionVal[+A](val x: A) extends AnyVal { /** - * Returns true if the option is `OptionVal.None`, false otherwise. + * Returns `true`` if the option is `OptionVal.None`, `false otherwise. */ def isEmpty: Boolean = x == null /** - * Returns true if the option is `OptionVal.None`, false otherwise. + * Returns `false` if the option is `OptionVal.None`, `true` otherwise. */ def isDefined: Boolean = !isEmpty --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
