remove superfluous AkkaApplication.akkaConfig() method (can use AkkaConfig() instead)
This commit is contained in:
parent
9444ed8beb
commit
e5d24b0f17
2 changed files with 1 additions and 4 deletions
|
|
@ -20,7 +20,7 @@ import scala.Right;
|
||||||
public class JavaFutureTests {
|
public class JavaFutureTests {
|
||||||
|
|
||||||
private final AkkaApplication app = new AkkaApplication();
|
private final AkkaApplication app = new AkkaApplication();
|
||||||
private final Timeout t = app.akkaConfig().ActorTimeout();
|
private final Timeout t = app.AkkaConfig().ActorTimeout();
|
||||||
private final FutureFactory ff = new FutureFactory(app.dispatcher(), t);
|
private final FutureFactory ff = new FutureFactory(app.dispatcher(), t);
|
||||||
|
|
||||||
@Test public void mustBeAbleToMapAFuture() {
|
@Test public void mustBeAbleToMapAFuture() {
|
||||||
|
|
|
||||||
|
|
@ -110,9 +110,6 @@ class AkkaApplication(val name: String, val config: Configuration) extends Actor
|
||||||
val RemoteServerPort = getInt("akka.remote.server.port", 2552)
|
val RemoteServerPort = getInt("akka.remote.server.port", 2552)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Java API
|
|
||||||
val akkaConfig = AkkaConfig
|
|
||||||
|
|
||||||
object MistSettings {
|
object MistSettings {
|
||||||
val JettyServer = "jetty"
|
val JettyServer = "jetty"
|
||||||
val TimeoutAttribute = "timeout"
|
val TimeoutAttribute = "timeout"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue