From: Manish Khettry Date: Thu, 10 May 2012 17:36:03 +0000 (-0700) Subject: use apply instead of lazy val X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7b47de44e98f157ae5edae5ceafa5249cebe3cfd;p=chaz%2Fsbt-tap use apply instead of lazy val --- diff --git a/src/main/scala/SbtTapReporting.scala b/src/main/scala/SbtTapReporting.scala index 0d7f26b..9345066 100644 --- a/src/main/scala/SbtTapReporting.scala +++ b/src/main/scala/SbtTapReporting.scala @@ -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 } /**