Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2002-2017 the original author or authors.
|
* Copyright 2002-2019 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
@@ -60,7 +60,7 @@ public class CacheReproTests {
|
|||||||
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void spr11124MultipleAnnotations() throws Exception {
|
public void spr11124MultipleAnnotations() {
|
||||||
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11124Config.class);
|
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11124Config.class);
|
||||||
Spr11124Service bean = context.getBean(Spr11124Service.class);
|
Spr11124Service bean = context.getBean(Spr11124Service.class);
|
||||||
bean.single(2);
|
bean.single(2);
|
||||||
@@ -71,7 +71,7 @@ public class CacheReproTests {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void spr11249PrimitiveVarargs() throws Exception {
|
public void spr11249PrimitiveVarargs() {
|
||||||
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11249Config.class);
|
AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Spr11249Config.class);
|
||||||
Spr11249Service bean = context.getBean(Spr11249Service.class);
|
Spr11249Service bean = context.getBean(Spr11249Service.class);
|
||||||
Object result = bean.doSomething("op", 2, 3);
|
Object result = bean.doSomething("op", 2, 3);
|
||||||
|
|||||||
@@ -340,7 +340,7 @@ public class MappingJackson2MessageConverter implements SmartMessageConverter, B
|
|||||||
* sets the resulting value (either a mapped id or the raw Java class name)
|
* sets the resulting value (either a mapped id or the raw Java class name)
|
||||||
* into the configured type id message property.
|
* into the configured type id message property.
|
||||||
* @param object the payload object to set a type id for
|
* @param object the payload object to set a type id for
|
||||||
* @param message the JMS Message to set the type id on
|
* @param message the JMS Message on which to set the type id property
|
||||||
* @throws JMSException if thrown by JMS methods
|
* @throws JMSException if thrown by JMS methods
|
||||||
* @see #getJavaTypeForMessage(javax.jms.Message)
|
* @see #getJavaTypeForMessage(javax.jms.Message)
|
||||||
* @see #setTypeIdPropertyName(String)
|
* @see #setTypeIdPropertyName(String)
|
||||||
@@ -442,7 +442,7 @@ public class MappingJackson2MessageConverter implements SmartMessageConverter, B
|
|||||||
* <p>The default implementation parses the configured type id property name
|
* <p>The default implementation parses the configured type id property name
|
||||||
* and consults the configured type id mapping. This can be overridden with
|
* and consults the configured type id mapping. This can be overridden with
|
||||||
* a different strategy, e.g. doing some heuristics based on message origin.
|
* a different strategy, e.g. doing some heuristics based on message origin.
|
||||||
* @param message the JMS Message to set the type id on
|
* @param message the JMS Message from which to get the type id property
|
||||||
* @throws JMSException if thrown by JMS methods
|
* @throws JMSException if thrown by JMS methods
|
||||||
* @see #setTypeIdOnMessage(Object, javax.jms.Message)
|
* @see #setTypeIdOnMessage(Object, javax.jms.Message)
|
||||||
* @see #setTypeIdPropertyName(String)
|
* @see #setTypeIdPropertyName(String)
|
||||||
|
|||||||
Reference in New Issue
Block a user