Folks,
I've been trying to clean up warnings in the Lift code.  I tried to change
Prop.property to Prop.forAll as ScalaCheck has deprecated property, but the
compiler complained the a String => Boolean was not a Gen.  Anybody have a
clue how to make these warning go away:
[WARNING]
C:\Users\dpp\Documents\liftweb\lift-util\src\test\scala\net\liftweb\ut
il\BoxUnit.scala:38: warning: method property in object Prop is deprecated
[WARNING]       property(equality) must pass
[WARNING]       ^
[WARNING]
C:\Users\dpp\Documents\liftweb\lift-util\src\test\scala\net\liftweb\ut
il\CombParserHelpersSpec.scala:52: warning: method property in object Prop
is de
precated
[WARNING]       property(whiteParse) must pass
[WARNING]       ^
[WARNING]
C:\Users\dpp\Documents\liftweb\lift-util\src\test\scala\net\liftweb\ut
il\CombParserHelpersSpec.scala:60: warning: method property in object Prop
is de
precated
[WARNING]       property(whiteSpaceParse) must pass
[WARNING]       ^
[WARNING]
C:\Users\dpp\Documents\liftweb\lift-util\src\test\scala\net\liftweb\ut
il\CombParserHelpersSpec.scala:69: warning: method property in object Prop
is de
precated
[WARNING]       property(ignoreCaseStringParse) must pass
[WARNING]       ^
[WARNING]
C:\Users\dpp\Documents\liftweb\lift-util\src\test\scala\net\liftweb\ut
il\CombParserHelpersSpec.scala:77: warning: method property in object Prop
is de
precated
[WARNING]       property(isDigit) must pass
[WARNING]       ^
[WARNING]
C:\Users\dpp\Documents\liftweb\lift-util\src\test\scala\net\liftweb\ut
il\CombParserHelpersSpec.scala:86: warning: method property in object Prop
is de
precated
[WARNING]       property(number) must pass
[WARNING]       ^
[WARNING]
C:\Users\dpp\Documents\liftweb\lift-util\src\test\scala\net\liftweb\ut
il\CombParserHelpersSpec.scala:119: warning: method property in object Prop
is d
eprecated
[WARNING]       property((s: String) => (!stringWrapper(s).isEmpty) ==>
permuteA
llParsers(s)) must pass
[WARNING]       ^
[WARNING]
C:\Users\dpp\Documents\liftweb\lift-util\src\test\scala\net\liftweb\ut
il\CombParserHelpersSpec.scala:124: warning: method property in object Prop
is d
eprecated
[WARNING]       property((s: String) => (!stringWrapper(s).isEmpty) ==>
repNNPar
ser(s)) must pass
[WARNING]       ^
[WARNING] 10 warnings found

Thanks,

David

-- 
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to