Make project both Scala 2.7 and 2.8 friendly
- Unify package and import style
package net.liftweb {
package http {
package js {
object Foo {
// good foo
}
class Baz {
// bad baz
}
}
}
While ugly, this style is valid for Scala 2.7 and 2.8. And it allows for relative imports. As soon as Lift is fully migrated to 2.8, the curly braces can be removed:
package net.liftweb
package common
...
This is new Scala 2.8 syntax for nested packages which allows for relative imports.
- Remove deprecation and fold in scala 2.8 recommendation as much as possible.
- Adjust file headers and indentations
Leave a comment
on 2010-02-06 11:52 *
By github.importer
Imported from GitHub: http://github.com/dpp/liftweb/issues/292/find