Polish SerializationTestUtils, clean up warnings, etc.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2018 the original author or authors.
|
||||
* Copyright 2002-2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -459,13 +459,12 @@ public abstract class AbstractAdaptableMessageListener
|
||||
|
||||
|
||||
/**
|
||||
* A {@link MessagingMessageConverter} that lazily invoke payload extraction and
|
||||
* delegate it to {@link #extractMessage(javax.jms.Message)} in order to enforce
|
||||
* A {@link MessagingMessageConverter} that lazily invokes payload extraction and
|
||||
* delegates it to {@link #extractMessage(javax.jms.Message)} in order to enforce
|
||||
* backward compatibility.
|
||||
*/
|
||||
private class MessagingMessageConverterAdapter extends MessagingMessageConverter {
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
@Override
|
||||
public Object fromMessage(javax.jms.Message message) throws JMSException, MessageConversionException {
|
||||
return new LazyResolutionMessage(message);
|
||||
|
||||
Reference in New Issue
Block a user