You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by md...@apache.org on 2023/05/08 20:42:07 UTC

[incubator-pekko] branch main updated: Missed inline in toJavaPrimitive

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

mdedetrich pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new ccd728f098 Missed inline in toJavaPrimitive
ccd728f098 is described below

commit ccd728f098cb1a1c9deb5578c9ac46a6159beca5
Author: Matthew de Detrich <ma...@aiven.io>
AuthorDate: Mon May 8 22:17:05 2023 +0200

    Missed inline in toJavaPrimitive
---
 actor/src/main/scala-2.13+/org/apache/pekko/util/OptionConverters.scala | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actor/src/main/scala-2.13+/org/apache/pekko/util/OptionConverters.scala b/actor/src/main/scala-2.13+/org/apache/pekko/util/OptionConverters.scala
index 0f89742751..0429315efa 100644
--- a/actor/src/main/scala-2.13+/org/apache/pekko/util/OptionConverters.scala
+++ b/actor/src/main/scala-2.13+/org/apache/pekko/util/OptionConverters.scala
@@ -31,7 +31,7 @@ private[pekko] object OptionConverters {
   implicit final class RichOption[A](private val o: Option[A]) extends AnyVal {
     @inline def toJava: Optional[A] = scala.jdk.OptionConverters.RichOption(o).toJava
 
-    def toJavaPrimitive[O](implicit shape: OptionShape[A, O]): O =
+    @inline def toJavaPrimitive[O](implicit shape: OptionShape[A, O]): O =
       scala.jdk.OptionConverters.RichOption(o).toJavaPrimitive
   }
 


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