#3018 - Enabling -Xlint and dealing with the situation that occurs

This commit is contained in:
Viktor Klang 2013-03-28 23:45:48 +01:00
parent 88f7e28c6b
commit c883705242
75 changed files with 249 additions and 275 deletions

View file

@ -7,7 +7,7 @@ import language.postfixOps
import akka.util.Timeout
object Introduction {
def foo = {
def foo(): Unit = {
//#Consumer-mina
import akka.camel.{ CamelMessage, Consumer }
@ -27,7 +27,7 @@ object Introduction {
val mina = system.actorOf(Props[MyEndpoint])
//#Consumer-mina
}
def bar = {
def bar(): Unit = {
//#Consumer
import akka.camel.{ CamelMessage, Consumer }
@ -41,7 +41,7 @@ object Introduction {
}
//#Consumer
}
def baz = {
def baz(): Unit = {
//#Producer
import akka.actor.Actor
import akka.camel.{ Producer, Oneway }