Browse Source

Polish

Closes gh-1097
pull/631/head
Stephane Nicoll 10 years ago
parent
commit
037746da44
  1. 4
      spring-context/src/main/java/org/springframework/context/annotation/Import.java
  2. 2
      spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java
  3. 6
      spring-context/src/main/java/org/springframework/scheduling/annotation/SchedulingConfiguration.java
  4. 4
      spring-tx/src/main/java/org/springframework/transaction/annotation/EnableTransactionManagement.java
  5. 4
      spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java
  6. 4
      spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java

4
spring-context/src/main/java/org/springframework/context/annotation/Import.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2015 the original author or authors. * Copyright 2002-2016 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.
@ -54,7 +54,7 @@ import java.lang.annotation.Target;
public @interface Import { public @interface Import {
/** /**
* @{@link Configuration}, {@link ImportSelector}, {@link ImportBeanDefinitionRegistrar} * {@link Configuration}, {@link ImportSelector}, {@link ImportBeanDefinitionRegistrar}
* or regular component classes to import. * or regular component classes to import.
*/ */
Class<?>[] value(); Class<?>[] value();

2
spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java

@ -65,7 +65,7 @@ import org.springframework.util.StringValueResolver;
* *
* <p>This post-processor is automatically registered by Spring's * <p>This post-processor is automatically registered by Spring's
* {@code <task:annotation-driven>} XML element, and also by the * {@code <task:annotation-driven>} XML element, and also by the
* @{@link EnableScheduling} annotation. * {@link EnableScheduling @EnableScheduling} annotation.
* *
* <p>Autodetects any {@link SchedulingConfigurer} instances in the container, * <p>Autodetects any {@link SchedulingConfigurer} instances in the container,
* allowing for customization of the scheduler to be used or for fine-grained * allowing for customization of the scheduler to be used or for fine-grained

6
spring-context/src/main/java/org/springframework/scheduling/annotation/SchedulingConfiguration.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2015 the original author or authors. * Copyright 2002-2016 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.
@ -27,8 +27,8 @@ import org.springframework.scheduling.config.TaskManagementConfigUtils;
* bean capable of processing Spring's @{@link Scheduled} annotation. * bean capable of processing Spring's @{@link Scheduled} annotation.
* *
* <p>This configuration class is automatically imported when using the * <p>This configuration class is automatically imported when using the
* @{@link EnableScheduling} annotation. See {@code @EnableScheduling}'s javadoc * {@link EnableScheduling @EnableScheduling} annotation. See
* for complete usage details. * {@code @EnableScheduling}'s javadoc for complete usage details.
* *
* @author Chris Beams * @author Chris Beams
* @since 3.1 * @since 3.1

4
spring-tx/src/main/java/org/springframework/transaction/annotation/EnableTransactionManagement.java

@ -29,8 +29,8 @@ import org.springframework.core.Ordered;
/** /**
* Enables Spring's annotation-driven transaction management capability, similar to * Enables Spring's annotation-driven transaction management capability, similar to
* the support found in Spring's {@code <tx:*>} XML namespace. To be used on * the support found in Spring's {@code <tx:*>} XML namespace. To be used on
* @{@link org.springframework.context.annotation.Configuration Configuration} classes * {@link org.springframework.context.annotation.Configuration @Configuration}
* as follows: * classes as follows:
* *
* <pre class="code"> * <pre class="code">
* &#064;Configuration * &#064;Configuration

4
spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2015 the original author or authors. * Copyright 2002-2016 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.
@ -32,7 +32,7 @@ import org.springframework.transaction.PlatformTransactionManager;
* <p>Note that in by-type lookup disambiguation cases, an alternative approach to * <p>Note that in by-type lookup disambiguation cases, an alternative approach to
* implementing this interface is to simply mark one of the offending * implementing this interface is to simply mark one of the offending
* {@code PlatformTransactionManager} {@code @Bean} methods as * {@code PlatformTransactionManager} {@code @Bean} methods as
* @{@link org.springframework.context.annotation.Primary Primary}. * {@link org.springframework.context.annotation.Primary @Primary}.
* This is even generally preferred since it doesn't lead to early initialization * This is even generally preferred since it doesn't lead to early initialization
* of the {@code PlatformTransactionManager} bean. * of the {@code PlatformTransactionManager} bean.
* *

4
spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java

@ -51,8 +51,8 @@ import org.springframework.web.util.WebUtils;
* abstraction, and arguments of type {@code javax.servlet.http.Part} in conjunction * abstraction, and arguments of type {@code javax.servlet.http.Part} in conjunction
* with Servlet 3.0 multipart requests. This resolver can also be created in default * with Servlet 3.0 multipart requests. This resolver can also be created in default
* resolution mode in which simple types (int, long, etc.) not annotated with * resolution mode in which simple types (int, long, etc.) not annotated with
* @{@link RequestParam} are also treated as request parameters with the * {@link RequestParam @RequestParam} are also treated as request parameters with
* parameter name derived from the argument name. * the parameter name derived from the argument name.
* *
* <p>If the method parameter type is {@link Map}, the name specified in the * <p>If the method parameter type is {@link Map}, the name specified in the
* annotation is used to resolve the request parameter String value. The value is * annotation is used to resolve the request parameter String value. The value is

Loading…
Cancel
Save