apache / pekko

Build highly concurrent, distributed, and resilient message-driven applications using Java/Scala
https://pekko.apache.org/
Apache License 2.0
1.17k stars 139 forks source link

chore: clean code in ClusterSharding #1305

Closed Roiocam closed 3 months ago

Roiocam commented 4 months ago

Make code cleaner, it is basically the same.

Before using

https://github.com/apache/pekko/blob/b5eb6ff01a8d5c5f50b5d1b54280c0dcb075a59a/actor-typed/src/main/scala/org/apache/pekko/actor/typed/scaladsl/adapter/PropsAdapter.scala#L31-L36

After

https://github.com/apache/pekko/blob/b5eb6ff01a8d5c5f50b5d1b54280c0dcb075a59a/actor-typed/src/main/scala/org/apache/pekko/actor/typed/internal/adapter/ActorSystemAdapter.scala#L125-L133