Browse Source

Reflect 3.2=>3.1.2 backports in @since tags etc

Issue: SPR-9443, SPR-6847, SPR-9446, SPR-9444, SPR-9439, SPR-9302,
       SPR-9507, SPR-9238, SPR-9397, SPR-9406, SPR-9502
pull/101/merge
Chris Beams 14 years ago
parent
commit
dc822cdca0
  1. 3
      spring-beans/src/main/java/org/springframework/beans/factory/annotation/BeanFactoryAnnotationUtils.java
  2. 2
      spring-context/src/main/java/org/springframework/validation/beanvalidation/MethodValidationInterceptor.java
  3. 2
      spring-context/src/main/java/org/springframework/validation/beanvalidation/MethodValidationPostProcessor.java
  4. 2
      spring-core/src/main/java/org/springframework/core/env/ConfigurableEnvironment.java
  5. 6
      spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectUtils.java
  6. 2
      spring-web/src/main/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverter.java
  7. 2
      spring-web/src/main/java/org/springframework/web/client/HttpClientErrorException.java
  8. 2
      spring-web/src/main/java/org/springframework/web/client/HttpServerErrorException.java
  9. 4
      spring-web/src/main/java/org/springframework/web/client/HttpStatusCodeException.java
  10. 2
      spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java

3
spring-beans/src/main/java/org/springframework/beans/factory/annotation/BeanFactoryAnnotationUtils.java

@ -35,7 +35,7 @@ import org.springframework.util.ObjectUtils; @@ -35,7 +35,7 @@ import org.springframework.util.ObjectUtils;
* Spring's {@link Qualifier @Qualifier} annotation.
*
* @author Chris Beams
* @since 3.2
* @since 3.1.2
* @see BeanFactoryUtils
*/
public class BeanFactoryAnnotationUtils {
@ -49,7 +49,6 @@ public class BeanFactoryAnnotationUtils { @@ -49,7 +49,6 @@ public class BeanFactoryAnnotationUtils {
* @param qualifier the qualifier for selecting between multiple bean matches
* @return the matching bean of type {@code T} (never {@code null})
* @throws IllegalStateException if no matching bean of type {@code T} found
* @since 3.2
*/
public static <T> T qualifiedBeanOfType(BeanFactory beanFactory, Class<T> beanType, String qualifier) {
if (beanFactory instanceof ConfigurableListableBeanFactory) {

2
spring-context/src/main/java/org/springframework/validation/beanvalidation/MethodValidationInterceptor.java

@ -46,7 +46,7 @@ import org.springframework.validation.annotation.Validated; @@ -46,7 +46,7 @@ import org.springframework.validation.annotation.Validated;
* of that class. By default, JSR-303 will validate against its default group only.
*
* <p>As of Spring 3.1, this functionality requires Hibernate Validator 4.2 or higher.
* In Spring 3.2, this class will autodetect a Bean Validation 1.1 compliant provider
* In Spring 3.1.2, this class will autodetect a Bean Validation 1.1 compliant provider
* and automatically use the standard method validation support there (once available).
*
* @author Juergen Hoeller

2
spring-context/src/main/java/org/springframework/validation/beanvalidation/MethodValidationPostProcessor.java

@ -58,7 +58,7 @@ import org.springframework.validation.annotation.Validated; @@ -58,7 +58,7 @@ import org.springframework.validation.annotation.Validated;
* as well. By default, JSR-303 will validate against its default group only.
*
* <p>As of Spring 3.1, this functionality requires Hibernate Validator 4.2 or higher.
* In Spring 3.2, this class will autodetect a Bean Validation 1.1 compliant provider
* In Spring 3.1.2, this class will autodetect a Bean Validation 1.1 compliant provider
* and automatically use the standard method validation support there (once available).
*
* @author Juergen Hoeller

2
spring-core/src/main/java/org/springframework/core/env/ConfigurableEnvironment.java vendored

@ -164,7 +164,7 @@ public interface ConfigurableEnvironment extends Environment, ConfigurableProper @@ -164,7 +164,7 @@ public interface ConfigurableEnvironment extends Environment, ConfigurableProper
* reflected in the child. Therefore, care should be taken to configure parent
* property sources and profile information prior to calling {@code merge}.
* @param parent the environment to merge with
* @since 3.2
* @since 3.1.2
* @see org.springframework.context.support.AbstractApplicationContext#setParent
*/
void merge(ConfigurableEnvironment parent);

6
spring-tx/src/main/java/org/springframework/transaction/interceptor/TransactionAspectUtils.java

@ -29,7 +29,7 @@ import org.springframework.transaction.PlatformTransactionManager; @@ -29,7 +29,7 @@ import org.springframework.transaction.PlatformTransactionManager;
* @author Juergen Hoeller
* @author Chris Beams
* @since 3.0.2
* @deprecated as of Spring 3.2 in favor of {@link BeanFactoryUtils}
* @deprecated as of Spring 3.1.2 in favor of {@link BeanFactoryUtils}
*/
@Deprecated
public abstract class TransactionAspectUtils {
@ -40,7 +40,7 @@ public abstract class TransactionAspectUtils { @@ -40,7 +40,7 @@ public abstract class TransactionAspectUtils {
* @param qualifier the qualifier for selecting between multiple {@code PlatformTransactionManager} matches
* @return the chosen {@code PlatformTransactionManager} (never {@code null})
* @throws IllegalStateException if no matching {@code PlatformTransactionManager} bean found
* @deprecated as of Spring 3.2 in favor of
* @deprecated as of Spring 3.1.2 in favor of
* {@link BeanFactoryAnnotationUtils#qualifiedBeanOfType(BeanFactory, Class, String)}
*/
public static PlatformTransactionManager getTransactionManager(BeanFactory beanFactory, String qualifier) {
@ -53,7 +53,7 @@ public abstract class TransactionAspectUtils { @@ -53,7 +53,7 @@ public abstract class TransactionAspectUtils {
* @param qualifier the qualifier for selecting between multiple {@code PlatformTransactionManager} matches
* @return the chosen {@code PlatformTransactionManager} (never {@code null})
* @throws IllegalStateException if no matching {@code PlatformTransactionManager} bean found
* @deprecated as of Spring 3.2 in favor of
* @deprecated as of Spring 3.1.2 in favor of
* {@link BeanFactoryAnnotationUtils#qualifiedBeanOfType(BeanFactory, Class, String)}
*/
public static PlatformTransactionManager getTransactionManager(ConfigurableListableBeanFactory bf, String qualifier) {

2
spring-web/src/main/java/org/springframework/http/converter/json/MappingJackson2HttpMessageConverter.java

@ -47,7 +47,7 @@ import com.fasterxml.jackson.databind.SerializationFeature; @@ -47,7 +47,7 @@ import com.fasterxml.jackson.databind.SerializationFeature;
*
* @author Arjen Poutsma
* @author Keith Donald
* @since 3.2
* @since 3.1.2
* @see org.springframework.web.servlet.view.json.MappingJackson2JsonView
*/
public class MappingJackson2HttpMessageConverter extends AbstractHttpMessageConverter<Object> {

2
spring-web/src/main/java/org/springframework/web/client/HttpClientErrorException.java

@ -73,7 +73,7 @@ public class HttpClientErrorException extends HttpStatusCodeException { @@ -73,7 +73,7 @@ public class HttpClientErrorException extends HttpStatusCodeException {
* @param responseHeaders the response headers, may be {@code null}
* @param responseBody the response body content, may be {@code null}
* @param responseCharset the response body charset, may be {@code null}
* @since 3.2
* @since 3.1.2
*/
public HttpClientErrorException(HttpStatus statusCode, String statusText,
HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) {

2
spring-web/src/main/java/org/springframework/web/client/HttpServerErrorException.java

@ -74,7 +74,7 @@ public class HttpServerErrorException extends HttpStatusCodeException { @@ -74,7 +74,7 @@ public class HttpServerErrorException extends HttpStatusCodeException {
* @param responseHeaders the response headers, may be {@code null}
* @param responseBody the response body content, may be {@code null}
* @param responseCharset the response body charset, may be {@code null}
* @since 3.2
* @since 3.1.2
*/
public HttpServerErrorException(HttpStatus statusCode, String statusText,
HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) {

4
spring-web/src/main/java/org/springframework/web/client/HttpStatusCodeException.java

@ -89,7 +89,7 @@ public abstract class HttpStatusCodeException extends RestClientException { @@ -89,7 +89,7 @@ public abstract class HttpStatusCodeException extends RestClientException {
* @param responseHeaders the response headers, may be {@code null}
* @param responseBody the response body content, may be {@code null}
* @param responseCharset the response body charset, may be {@code null}
* @since 3.2
* @since 3.1.2
*/
protected HttpStatusCodeException(HttpStatus statusCode, String statusText,
HttpHeaders responseHeaders, byte[] responseBody, Charset responseCharset) {
@ -118,7 +118,7 @@ public abstract class HttpStatusCodeException extends RestClientException { @@ -118,7 +118,7 @@ public abstract class HttpStatusCodeException extends RestClientException {
/**
* Return the HTTP response headers.
* @since 3.2
* @since 3.1.2
*/
public HttpHeaders getResponseHeaders() {
return this.responseHeaders;

2
spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java

@ -48,7 +48,7 @@ import org.springframework.web.servlet.view.AbstractView; @@ -48,7 +48,7 @@ import org.springframework.web.servlet.view.AbstractView;
* @author Jeremy Grelle
* @author Arjen Poutsma
* @author Rossen Stoyanchev
* @since 3.2
* @since 3.1.2
* @see org.springframework.http.converter.json.MappingJackson2HttpMessageConverter
*/
public class MappingJackson2JsonView extends AbstractView {

Loading…
Cancel
Save