Removing ActorRef.isDefinedAt and Future.empty and moving Future.channel to Promise, renaming future to promise for the channel
This commit is contained in:
parent
07eaf0ba48
commit
f9d0b188af
8 changed files with 29 additions and 96 deletions
|
|
@ -40,7 +40,7 @@ trait EmbeddedAppServer extends Bootable {
|
|||
super.onLoad
|
||||
if (isRestEnabled) {
|
||||
|
||||
val configuration = new XmlConfiguration(findJettyConfigXML.getOrElse(error("microkernel-server.xml not found!")))
|
||||
val configuration = new XmlConfiguration(findJettyConfigXML.getOrElse(sys.error("microkernel-server.xml not found!")))
|
||||
|
||||
System.setProperty("jetty.port", REST_PORT.toString)
|
||||
System.setProperty("jetty.host", REST_HOSTNAME)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue