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

fanningpj 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 c6dc8210d7 Remove note about Lagom (#698)
c6dc8210d7 is described below

commit c6dc8210d71bbc180145175f737893dba0cae9d8
Author: PJ Fanning <[email protected]>
AuthorDate: Sat Oct 7 10:45:58 2023 +0100

    Remove note about Lagom (#698)
    
    * Remove note about Lagom
    
    * Update PersistenceId.scala
---
 docs/src/main/paradox/typed/persistence.md             |  8 --------
 .../apache/pekko/persistence/typed/PersistenceId.scala | 18 ------------------
 2 files changed, 26 deletions(-)

diff --git a/docs/src/main/paradox/typed/persistence.md 
b/docs/src/main/paradox/typed/persistence.md
index a3afe529eb..3a6fdfd57f 100644
--- a/docs/src/main/paradox/typed/persistence.md
+++ b/docs/src/main/paradox/typed/persistence.md
@@ -119,14 +119,6 @@ to help with constructing such `PersistenceId` from an 
`entityTypeHint` and `ent
 The default separator when concatenating the `entityTypeHint` and `entityId` 
is `|`, but a custom separator
 is supported.
 
-@@@ note
-
-The `|` separator is also used in Lagom's `scaladsl.PersistentEntity` but no 
separator is used
-in Lagom's `javadsl.PersistentEntity`. For compatibility with Lagom's 
`javadsl.PersistentEntity`
-you should use `""` as the separator.
-
-@@@
-
 A custom identifier can be created with 
@apidoc[PersistenceId.ofUniqueId](typed.PersistenceId$) 
{scala="#ofUniqueId(id:String):org.apache.pekko.persistence.typed.PersistenceId"
 java="#ofUniqueId(java.lang.String)"}.  
 
 ### Command handler
diff --git 
a/persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/PersistenceId.scala
 
b/persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/PersistenceId.scala
index 08bba0f44c..8eb0a95d25 100644
--- 
a/persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/PersistenceId.scala
+++ 
b/persistence-typed/src/main/scala/org/apache/pekko/persistence/typed/PersistenceId.scala
@@ -17,8 +17,6 @@ object PersistenceId {
 
   /**
    * Default separator character used for concatenating a `typeHint` with 
`entityId` to construct unique persistenceId.
-   * This must be same as in Lagom's `scaladsl.PersistentEntity`, for 
compatibility. No separator is used
-   * in Lagom's `javadsl.PersistentEntity` so for compatibility with that the 
`""` separator must be used instead.
    */
   val DefaultSeparator = "|"
 
@@ -37,10 +35,6 @@ object PersistenceId {
    *
    * Another separator can be defined by using the `apply` that takes a 
`separator` parameter.
    *
-   * The `|` separator is also used in Lagom's `scaladsl.PersistentEntity` but 
no separator is used
-   * in Lagom's `javadsl.PersistentEntity`. For compatibility with Lagom's 
`javadsl.PersistentEntity`
-   * you should use `""` as the separator.
-   *
    * @throws java.lang.IllegalArgumentException if the `entityTypeHint` or 
`entityId` contains `|`
    */
   def apply(entityTypeHint: String, entityId: String): PersistenceId =
@@ -61,10 +55,6 @@ object PersistenceId {
    *
    * The default separator `|` is used by the `apply` that doesn't take a 
`separator` parameter.
    *
-   * The `|` separator is also used in Lagom's `scaladsl.PersistentEntity` but 
no separator is used
-   * in Lagom's `javadsl.PersistentEntity`. For compatibility with Lagom's 
`javadsl.PersistentEntity`
-   * you should use `""` as the separator.
-   *
    * @throws java.lang.IllegalArgumentException if the `entityTypeHint` or 
`entityId` contains `separator`
    */
   def apply(entityTypeHint: String, entityId: String, separator: String): 
PersistenceId = {
@@ -95,10 +85,6 @@ object PersistenceId {
    *
    * Another separator can be defined by using the `PersistenceId.of` that 
takes a `separator` parameter.
    *
-   * The `|` separator is also used in Lagom's `scaladsl.PersistentEntity` but 
no separator is used
-   * in Lagom's `javadsl.PersistentEntity`. For compatibility with Lagom's 
`javadsl.PersistentEntity`
-   * you should use `""` as the separator.
-   *
    * @throws java.lang.IllegalArgumentException if the `entityTypeHint` or 
`entityId` contains `|`
    */
   def of(entityTypeHint: String, entityId: String): PersistenceId =
@@ -119,10 +105,6 @@ object PersistenceId {
    *
    * The default separator `|` is used by the `apply` that doesn't take a 
`separator` parameter.
    *
-   * The `|` separator is also used in Lagom's `scaladsl.PersistentEntity` but 
no separator is used
-   * in Lagom's `javadsl.PersistentEntity`. For compatibility with Lagom's 
`javadsl.PersistentEntity`
-   * you should use `""` as the separator.
-   *
    * @throws java.lang.IllegalArgumentException if the `entityTypeHint` or 
`entityId` contains `separator`
    */
   def of(entityTypeHint: String, entityId: String, separator: String): 
PersistenceId =


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to