Changed return type of CamelService.load to CamelService
This commit is contained in:
parent
08681ee6a4
commit
032a7b8faf
1 changed files with 4 additions and 1 deletions
|
|
@ -66,7 +66,10 @@ trait CamelService extends Bootable with Logging {
|
|||
*
|
||||
* @see onLoad
|
||||
*/
|
||||
def load = onLoad
|
||||
def load: CamelService = {
|
||||
onLoad
|
||||
this
|
||||
}
|
||||
|
||||
/**
|
||||
* Stops the CamelService.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue