Skip to content

Commit 8e1dbdf

Browse files
artembilangaryrussell
authored andcommitted
Upgrade to SA-2.0.4
* Fix deprecation in the `AmqpChannelParserTests`
1 parent 264caa9 commit 8e1dbdf

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ subprojects { subproject ->
146146
romeToolsVersion = '1.8.0'
147147
servletApiVersion = '4.0.0'
148148
smackVersion = '4.2.2'
149-
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.0.3.RELEASE'
149+
springAmqpVersion = project.hasProperty('springAmqpVersion') ? project.springAmqpVersion : '2.0.4.RELEASE'
150150
springDataJpaVersion = '2.0.7.RELEASE'
151151
springDataMongoVersion = '2.0.7.RELEASE'
152152
springDataRedisVersion = '2.0.7.RELEASE'

spring-integration-amqp/src/test/java/org/springframework/integration/amqp/config/AmqpChannelParserTests.java

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2017 the original author or authors.
2+
* Copyright 2002-2018 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -42,14 +42,16 @@
4242
import org.springframework.integration.support.utils.IntegrationUtils;
4343
import org.springframework.integration.test.util.TestUtils;
4444
import org.springframework.messaging.MessageChannel;
45-
import org.springframework.messaging.support.ChannelInterceptorAdapter;
45+
import org.springframework.messaging.support.ChannelInterceptor;
4646
import org.springframework.test.annotation.DirtiesContext;
4747
import org.springframework.test.context.ContextConfiguration;
4848
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
4949

5050
/**
5151
* @author Mark Fisher
5252
* @author Gary Russell
53+
* @author Artem Bilan
54+
*
5355
* @since 2.1
5456
*/
5557
@ContextConfiguration
@@ -119,7 +121,8 @@ private void checkExtract(AbstractAmqpChannel channel) {
119121
assertTrue(TestUtils.getPropertyValue(channel, "extractPayload", Boolean.class));
120122
}
121123

122-
private static class TestInterceptor extends ChannelInterceptorAdapter {
124+
private static class TestInterceptor implements ChannelInterceptor {
125+
123126
}
124127

125128
}

0 commit comments

Comments
 (0)