summaryrefslogtreecommitdiff
path: root/core/source/benchmark/scala/com/rockymadden/stringmetric/phonetic/RefinedSoundexAlgorithmBenchmark.scala
diff options
context:
space:
mode:
Diffstat (limited to 'core/source/benchmark/scala/com/rockymadden/stringmetric/phonetic/RefinedSoundexAlgorithmBenchmark.scala')
-rwxr-xr-xcore/source/benchmark/scala/com/rockymadden/stringmetric/phonetic/RefinedSoundexAlgorithmBenchmark.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/source/benchmark/scala/com/rockymadden/stringmetric/phonetic/RefinedSoundexAlgorithmBenchmark.scala b/core/source/benchmark/scala/com/rockymadden/stringmetric/phonetic/RefinedSoundexAlgorithmBenchmark.scala
index cbb5d10..e2f58d3 100755
--- a/core/source/benchmark/scala/com/rockymadden/stringmetric/phonetic/RefinedSoundexAlgorithmBenchmark.scala
+++ b/core/source/benchmark/scala/com/rockymadden/stringmetric/phonetic/RefinedSoundexAlgorithmBenchmark.scala
@@ -5,7 +5,7 @@ import com.rockymadden.stringmetric.{ CaliperBenchmark, CaliperRunner }
import scala.util.Random
final class RefinedSoundexAlgorithmBenchmark extends CaliperBenchmark {
- import RefinedSoundexAlgorithmBenchmark._
+ import RefinedSoundexAlgorithmBenchmark.Algorithm
@Param(Array("0", "1", "2", "4", "8", "16"))
var length: Int = _
@@ -28,5 +28,5 @@ final class RefinedSoundexAlgorithmBenchmark extends CaliperBenchmark {
}
object RefinedSoundexAlgorithmBenchmark extends CaliperRunner(classOf[RefinedSoundexAlgorithmBenchmark]) {
- private final val Algorithm = new RefinedSoundexAlgorithm
+ private final val Algorithm = RefinedSoundexAlgorithm()
}