Skip to content

Commit

Permalink
chore: Deprecate JAPI. (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin authored Jan 15, 2024
1 parent dc03474 commit 8760939
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions actor/src/main/java/org/apache/pekko/japi/JAPI.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,16 @@

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);
Expand Down

0 comments on commit 8760939

Please sign in to comment.