esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Problem with [ESME-221]
Date Fri, 03 Sep 2010 12:02:55 GMT
I'm trying to do a quick change (I just added one line to Boot.scala)
but I get a strange error.

Here is the line

   LiftRules.noticesAutoFadeOut.default.set((noticeType:
NoticeType.Value) => Full((1 seconds, 2 seconds)))

and here is the error

INFO] Compiling 1 source files to D:\apache\esme_patch\trunk\server\target\clas
es
WARNING] D:\apache\esme_patch\trunk\server\src\main\scala\bootstrap\liftweb\Boo
.scala:126: error: type mismatch;
WARNING]  found   : (net.liftweb.http.NoticeType.Value) => net.liftweb.common.F
ll[(net.liftweb.util.TimeHelpers.TimeSpan, net.liftweb.util.TimeHelpers.TimeSpa
)]
WARNING]  required: net.liftweb.util.Vendor[(net.liftweb.http.NoticeType.Value)
=> net.liftweb.common.Box[(net.liftweb.util.Helpers.TimeSpan, net.liftweb.util.
elpers.TimeSpan)]]
WARNING]      LiftRules.noticesAutoFadeOut.default.set((noticeType: NoticeType.
alue) => Full((1 seconds, 2 seconds)))
WARNING]
      ^
WARNING] one error found

Am I missing an import?

D.

Mime
View raw message