play2war / play2-war-plugin

WAR Plugin for Play framework 2.x
Apache License 2.0
443 stars 71 forks source link

Remove compilation warning (Scala 2.11) #287

Closed dlecan closed 9 years ago

dlecan commented 9 years ago

Compilation warning with Scala 2.11:

[warn] /home/user/dev/play2-war-plugin/project-code/core/common/src/main/scala/play/core/server/servlet/RequestHandler.scala:215: Adaptation of argument list by inserting () has been deprecated: this is unlikely to be what you want.
[warn]         signature: Future.successful[T](result: T): scala.concurrent.Future[T]
[warn]   given arguments: <none>
[warn]  after adaptation: Future.successful((): Unit)
[warn]               val p = Future.successful()
[warn]                                        ^
yanns commented 9 years ago

fix https://github.com/play2war/play2-war-plugin/commit/79f32e09d5a6ebba0d3d9db1fde891d265d5c7a6