You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by he...@apache.org on 2025/11/08 05:22:39 UTC

(pekko) branch typo created (now 8f5f9b6b19)

This is an automated email from the ASF dual-hosted git repository.

hepin pushed a change to branch typo
in repository https://gitbox.apache.org/repos/asf/pekko.git


      at 8f5f9b6b19 chore: Fix typo of OptionVal's scaladoc

This branch includes the following new commits:

     new 8f5f9b6b19 chore: Fix typo of OptionVal's scaladoc

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org


(pekko) 01/01: chore: Fix typo of OptionVal's scaladoc

Posted by he...@apache.org.
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 <he...@gmail.com>
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: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org