Merge pull request #22574 from bantonsson/fix-indentation-master

Fix indentation diffs
This commit is contained in:
Patrik Nordwall 2017-03-16 14:12:29 +01:00 committed by GitHub
commit 3e4f44765c

View file

@ -30,10 +30,10 @@ private final case class SchedulerException(msg: String) extends akka.AkkaExcept
* 1) the systems com.typesafe.config.Config (from system.settings.config)
* 2) a akka.event.LoggingAdapter
* 3) a java.util.concurrent.ThreadFactory
*
* Please note that this scheduler implementation is higly optimised for high-throughput
* and high-frequency events. It is not to be confused with long-term schedulers such as
* Quartz. The scheduler will throw an exception if attempts are made to schedule too far
*
* Please note that this scheduler implementation is higly optimised for high-throughput
* and high-frequency events. It is not to be confused with long-term schedulers such as
* Quartz. The scheduler will throw an exception if attempts are made to schedule too far
* into the future (which by default is around 8 months (`Int.MaxValue` seconds).
*/
trait Scheduler {
@ -96,9 +96,9 @@ trait Scheduler {
* If the `Runnable` throws an exception the repeated scheduling is aborted,
* i.e. the function will not be invoked any more.
*
* @throws IllegalArgumentException if the given delays exceed the maximum
* @throws IllegalArgumentException if the given delays exceed the maximum
* reach (calculated as: `delay / tickNanos > Int.MaxValue`).
*
*
* Java API
*/
def schedule(
@ -110,9 +110,9 @@ trait Scheduler {
* Schedules a message to be sent once with a delay, i.e. a time period that has
* to pass before the message is sent.
*
* @throws IllegalArgumentException if the given delays exceed the maximum
* @throws IllegalArgumentException if the given delays exceed the maximum
* reach (calculated as: `delay / tickNanos > Int.MaxValue`).
*
*
* Java & Scala API
*/
final def scheduleOnce(
@ -129,9 +129,9 @@ trait Scheduler {
* Schedules a function to be run once with a delay, i.e. a time period that has
* to pass before the function is run.
*
* @throws IllegalArgumentException if the given delays exceed the maximum
* @throws IllegalArgumentException if the given delays exceed the maximum
* reach (calculated as: `delay / tickNanos > Int.MaxValue`).
*
*
* Scala API
*/
final def scheduleOnce(delay: FiniteDuration)(f: Unit)(
@ -143,9 +143,9 @@ trait Scheduler {
* Schedules a Runnable to be run once with a delay, i.e. a time period that
* has to pass before the runnable is executed.
*
* @throws IllegalArgumentException if the given delays exceed the maximum
* @throws IllegalArgumentException if the given delays exceed the maximum
* reach (calculated as: `delay / tickNanos > Int.MaxValue`).
*
*
* Java & Scala API
*/
def scheduleOnce(