GH-1485 polishing, cleanup and deprecation removal

Resolves #1485
This commit is contained in:
Oleg Zhurakousky
2018-09-19 11:26:48 +02:00
parent 1f3b6ed344
commit 72ee2fae5d
6 changed files with 15 additions and 33 deletions

View File

@@ -41,7 +41,7 @@ import org.springframework.messaging.MessagingException;
import org.springframework.messaging.SubscribableChannel;
import org.springframework.messaging.converter.DefaultContentTypeResolver;
import org.springframework.messaging.converter.MessageConverter;
import org.springframework.messaging.support.ChannelInterceptorAdapter;
import org.springframework.messaging.support.ChannelInterceptor;
import org.springframework.messaging.support.MessageBuilder;
import org.springframework.util.Assert;
import org.springframework.util.MimeType;
@@ -166,7 +166,7 @@ public class TestSupportBinder implements Binder<MessageChannel, ConsumerPropert
* - byte[] to String conversion
* - etc
*/
private final static class InboundMessageConvertingInterceptor extends ChannelInterceptorAdapter {
private final static class InboundMessageConvertingInterceptor implements ChannelInterceptor {
private final DefaultContentTypeResolver contentTypeResolver = new DefaultContentTypeResolver();
private final CompositeMessageConverterFactory converterFactory = new CompositeMessageConverterFactory();