Roiocam commented on code in PR #887:
URL: https://github.com/apache/incubator-pekko/pull/887#discussion_r1437461802
##########
actor/src/main/scala/org/apache/pekko/actor/Scheduler.scala:
##########
@@ -75,8 +75,8 @@ trait Scheduler {
* If the `Runnable` throws an exception the repeated scheduling is aborted,
* i.e. the function will not be invoked any more.
*
- * @throws java.lang.IllegalArgumentException if the given delays exceed the
maximum
- * reach (calculated as: `delay / tickNanos > Int.MaxValue`).
+ * @throws java.lang.IllegalArgumentException if the given delays is zero,
negative or exceed the maximum
+ * reach (calculated as: `delay / tickNanos > Int.MaxValue`)
Review Comment:
what's wrong, i thinkg it is good to have a clarity javadoc.
--
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]