Skip to content

Commit 74486a7

Browse files
committed
1 parent 65cf21c commit 74486a7

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ subprojects { subproject ->
128128
romeToolsVersion = '1.8.0'
129129
servletApiVersion = '3.1.0'
130130
slf4jVersion = "1.7.25"
131-
smackVersion = '4.2.1'
131+
smackVersion = '4.2.2'
132132
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.0.1.RELEASE'
133133
springDataJpaVersion = '2.0.2.RELEASE'
134134
springDataMongoVersion = '2.0.2.RELEASE'

spring-integration-xmpp/src/main/java/org/springframework/integration/xmpp/config/XmppConnectionFactoryBean.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ public boolean isAutoStartup() {
229229
}
230230

231231

232+
@SuppressWarnings("deprecation")
232233
private class LoggingConnectionListener implements ConnectionListener {
233234

234235
LoggingConnectionListener() {

spring-integration-xmpp/src/test/java/org/springframework/integration/xmpp/inbound/ChatMessageListeningEndpointTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@
3636
import java.util.concurrent.TimeUnit;
3737

3838
import org.apache.commons.logging.Log;
39-
import org.jivesoftware.smack.SmackException.NotConnectedException;
4039
import org.jivesoftware.smack.StanzaListener;
4140
import org.jivesoftware.smack.XMPPConnection;
4241
import org.jivesoftware.smack.packet.Message;
@@ -45,7 +44,6 @@
4544
import org.jivesoftware.smackx.gcm.packet.GcmPacketExtension;
4645
import org.junit.Test;
4746
import org.jxmpp.jid.impl.JidCreate;
48-
import org.jxmpp.stringprep.XmppStringprepException;
4947
import org.mockito.ArgumentCaptor;
5048
import org.mockito.Mockito;
5149
import org.xmlpull.v1.XmlPullParser;
@@ -128,7 +126,7 @@ public void testNoXmppConnection() {
128126
}
129127

130128
@Test
131-
public void testWithErrorChannel() throws NotConnectedException, XmppStringprepException, InterruptedException {
129+
public void testWithErrorChannel() throws Exception {
132130
DefaultListableBeanFactory bf = new DefaultListableBeanFactory();
133131
XMPPConnection connection = mock(XMPPConnection.class);
134132
bf.registerSingleton(XmppContextUtils.XMPP_CONNECTION_BEAN_NAME, connection);

0 commit comments

Comments
 (0)