]> Dogcows Code - chaz/sbt-tap/commitdiff
use apply instead of lazy val
authorManish Khettry <manish@ooyala.com>
Thu, 10 May 2012 17:36:03 +0000 (10:36 -0700)
committerManish Khettry <manish@ooyala.com>
Thu, 10 May 2012 17:36:03 +0000 (10:36 -0700)
src/main/scala/SbtTapReporting.scala

index 0d7f26b3a69eb32674b09790fe7c8e95942dd2db..9345066996c621c06df72c08b10e2625c85583f4 100644 (file)
@@ -5,7 +5,7 @@ import org.scalatools.testing.{Event => TEvent, Result => TResult}
 import java.util.concurrent.atomic.AtomicInteger
 
 object SbtTapReporting extends Plugin {
-  lazy val tapListener = new SbtTapListener
+  def apply() = new SbtTapListener
 }
 
 /**
This page took 0.018156 seconds and 4 git commands to generate.