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 2024/01/15 11:34:30 UTC
(incubator-pekko) branch main updated: chore: Deprecate JAPI. (#949)
This is an automated email from the ASF dual-hosted git repository.
hepin 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 87609395a6 chore: Deprecate JAPI. (#949)
87609395a6 is described below
commit 87609395a633dfcb009440bd4663089cc997dcd9
Author: He-Pin(kerr) <he...@gmail.com>
AuthorDate: Mon Jan 15 19:34:25 2024 +0800
chore: Deprecate JAPI. (#949)
---
actor/src/main/java/org/apache/pekko/japi/JAPI.java | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/actor/src/main/java/org/apache/pekko/japi/JAPI.java b/actor/src/main/java/org/apache/pekko/japi/JAPI.java
index 11384f113f..2a3015c07a 100644
--- a/actor/src/main/java/org/apache/pekko/japi/JAPI.java
+++ b/actor/src/main/java/org/apache/pekko/japi/JAPI.java
@@ -15,8 +15,16 @@ package org.apache.pekko.japi;
import scala.collection.Seq;
+@Deprecated
public class JAPI {
+ /**
+ * Create a Scala seq from a Java array.
+ *
+ * @deprecated since 1.1.0. Use <code>
+ * org.apache.pekko.japi.Util.immutableSeq(java.util.Arrays.asList(...));</code> instead.
+ */
+ @Deprecated
@SafeVarargs
public static <T> Seq<T> seq(T... ts) {
return Util.immutableSeq(ts);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org