INT-2238 interim commit
INT-2238 fixing warning comments INT-2238 fixing warning comments INT-2238 fixing warning comments
This commit is contained in:
committed by
Mark Fisher
parent
dfd039b78e
commit
43f60dae08
@@ -69,12 +69,12 @@ public class JsonInboundMessageMapper implements InboundMessageMapper<String> {
|
||||
|
||||
public JsonInboundMessageMapper(Class<?> payloadType) {
|
||||
Assert.notNull(payloadType, "payloadType must not be null");
|
||||
this.payloadType = TypeFactory.type(payloadType);
|
||||
this.payloadType = TypeFactory.defaultInstance().constructType(payloadType);
|
||||
}
|
||||
|
||||
public JsonInboundMessageMapper(TypeReference<?> typeReference) {
|
||||
Assert.notNull(typeReference, "typeReference must not be null");
|
||||
this.payloadType = TypeFactory.type(typeReference);
|
||||
this.payloadType = TypeFactory.defaultInstance().constructType(typeReference);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -33,6 +33,6 @@ public interface HeaderMapper<T> {
|
||||
|
||||
void fromHeaders(MessageHeaders headers, T target);
|
||||
|
||||
<V> Map<String, V> toHeaders(T source);
|
||||
Map<String, Object> toHeaders(T source);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user