He-Pin commented on code in PR #3720:
URL: https://github.com/apache/pekko/pull/3720#discussion_r4393544529
##########
actor-typed/src/main/scala/org/apache/pekko/actor/typed/javadsl/Adapter.scala:
##########
@@ -153,7 +153,7 @@ object Adapter {
* takes a classic [[pekko.actor.Props]] parameter. Cluster Sharding is an
* example of that.
*/
- def props[T](behavior: Creator[Behavior[T]], deploy: Props):
pekko.actor.Props =
+ def props[T](behavior: Creator[? <: Behavior[T]], deploy: Props):
pekko.actor.Props =
Review Comment:
What about the Behavior? I think it should be `Behavior[_>:T]`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]