Permalink
Browse files

Added types for readability

  • Loading branch information...
1 parent 35aa24c commit 3866decd349f79dbf132c74b5ddb59c9e2910fae @mslinn committed Apr 4, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/scala/com/micronautics/akka/benchmark/Benchmark.scala
@@ -190,6 +190,7 @@ object Benchmark {
var numRuns: Int = 10
var showWarmUpTimes: Boolean = false
- def apply(load: () => Any = DefaultLoads.cpuIntensive, showResult: Boolean = false) =
+ def apply(load: () => Any = DefaultLoads.cpuIntensive, showResult: Boolean = false) = {
new Benchmark(load, showResult)
+ }
}

0 comments on commit 3866dec

Please sign in to comment.