Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix deprecations #3

Open
d6y opened this issue Nov 3, 2012 · 2 comments
Open

Fix deprecations #3

d6y opened this issue Nov 3, 2012 · 2 comments

Comments

@d6y
Copy link
Member

d6y commented Nov 3, 2012

Compile complains:

[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/FlotOptions.scala:190: @deprecated now takes two arguments; see the scaladoc.
[warn]   @deprecated def lines: Box[FlotLinesOptions] = Empty
[warn]    ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/FlotOptions.scala:191: @deprecated now takes two arguments; see the scaladoc.
[warn]   @deprecated def points: Box[FlotPointsOptions] = Empty
[warn]    ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/FlotOptions.scala:196: @deprecated now takes two arguments; see the scaladoc.
[warn]   @deprecated def shadowSize: Box[Int] = Empty
[warn]    ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/Flot.scala:173: value NaN_DOUBLE in object Math is deprecated: Use scala.Double.NaN instead
[warn]     case (Math.NaN_DOUBLE, _) => JsNull
[warn]                ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/Flot.scala:173: object Math is deprecated: use the scala.math package object instead.
[warn] (Example package object usage: scala.math.Pi )
[warn]     case (Math.NaN_DOUBLE, _) => JsNull
[warn]           ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/Flot.scala:174: value NaN_DOUBLE in object Math is deprecated: Use scala.Double.NaN instead
[warn]     case (_, Math.NaN_DOUBLE) => JsNull
[warn]                   ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/Flot.scala:174: object Math is deprecated: use the scala.math package object instead.
[warn] (Example package object usage: scala.math.Pi )
[warn]     case (_, Math.NaN_DOUBLE) => JsNull
[warn]              ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/FlotOptions.scala:204: method lines in trait FlotOptions is deprecated: scala.this.deprecated.init$default$1
[warn]     lines.map(v => ("lines", v.asJsObj)),
[warn]     ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/FlotOptions.scala:205: method points in trait FlotOptions is deprecated: scala.this.deprecated.init$default$1
[warn]     points.map(v => ("points", v.asJsObj)),
[warn]     ^
[warn] /Users/richard/Developer/lift/widgets/src/main/scala/net/liftmodules/widgets/flot/FlotOptions.scala:210: method shadowSize in trait FlotOptions is deprecated: scala.this.deprecated.init$default$1
[warn]     c("shadowSize", shadowSize),
[warn]                     ^
[warn] 10 warnings found
@dcbriccetti
Copy link
Contributor

I've worked on Flot a bit. If there’s something I can help with, let me know.

@d6y
Copy link
Member Author

d6y commented Nov 3, 2012

Thanks - I really just added it as a reminder to myself or whoever is next in here :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants