Changed return type of CamelService.load to CamelService

This commit is contained in:
Martin Krasser 2010-06-20 17:15:17 +02:00
parent 08681ee6a4
commit 032a7b8faf

View file

@ -66,7 +66,10 @@ trait CamelService extends Bootable with Logging {
*
* @see onLoad
*/
def load = onLoad
def load: CamelService = {
onLoad
this
}
/**
* Stops the CamelService.