diff --git a/build.gradle b/build.gradle index 8abebf3..7fcc84f 100644 --- a/build.gradle +++ b/build.gradle @@ -12,9 +12,9 @@ repositories { } dependencies { - compile 'io.netty:netty-all:4.0.27.Final' - compile 'com.google.guava:guava:11.0' - compile 'org.slf4j:slf4j-api:1.6.1' - runtime 'ch.qos.logback:logback-classic:1.0.0' + compile 'io.netty:netty-all:4.1.17.Final' + compile 'com.google.guava:guava:23.4-jre' + compile 'org.slf4j:slf4j-api:1.7.25' + runtime 'ch.qos.logback:logback-classic:1.2.3' testCompile 'junit:junit:4.8.1' } diff --git a/src/main/java/org/freeswitch/esl/client/transport/event/EslEvent.java b/src/main/java/org/freeswitch/esl/client/transport/event/EslEvent.java index 50f8858..f64e253 100644 --- a/src/main/java/org/freeswitch/esl/client/transport/event/EslEvent.java +++ b/src/main/java/org/freeswitch/esl/client/transport/event/EslEvent.java @@ -30,7 +30,7 @@ import java.util.List; import java.util.Map; -import static com.google.common.base.Objects.toStringHelper; +import static com.google.common.base.MoreObjects.toStringHelper; /** * FreeSWITCH Event Socket events are decoded into this data object. diff --git a/src/main/java/org/freeswitch/esl/client/transport/message/EslMessage.java b/src/main/java/org/freeswitch/esl/client/transport/message/EslMessage.java index 22e26e4..febe5f2 100644 --- a/src/main/java/org/freeswitch/esl/client/transport/message/EslMessage.java +++ b/src/main/java/org/freeswitch/esl/client/transport/message/EslMessage.java @@ -24,7 +24,7 @@ import java.util.List; import java.util.Map; -import static com.google.common.base.Objects.toStringHelper; +import static com.google.common.base.MoreObjects.toStringHelper; /** * Basic FreeSWITCH Event Socket messages from the server are decoded into this data object. diff --git a/src/test/java/OutboundTest.java b/src/test/java/OutboundTest.java index b8abf6e..a4a6d37 100644 --- a/src/test/java/OutboundTest.java +++ b/src/test/java/OutboundTest.java @@ -86,7 +86,7 @@ public void onEslEvent(Context ctx, } }); - outboundServer.start(); + outboundServer.startAsync(); } catch (Throwable t) { Throwables.propagate(t);