Browse Source

Polish

Closes gh-1097
(cherry picked from commit 037746d)
pull/1155/head
Stephane Nicoll 10 years ago committed by Juergen Hoeller
parent
commit
d73f91eaf0
  1. 4
      spring-aspects/src/main/java/org/springframework/context/annotation/aspectj/SpringConfiguredConfiguration.java
  2. 4
      spring-context/src/main/java/org/springframework/context/annotation/Import.java
  3. 2
      spring-context/src/main/java/org/springframework/scheduling/annotation/ScheduledAnnotationBeanPostProcessor.java
  4. 6
      spring-context/src/main/java/org/springframework/scheduling/annotation/SchedulingConfiguration.java
  5. 2
      spring-context/src/main/java/org/springframework/scripting/groovy/GroovyScriptFactory.java
  6. 4
      spring-tx/src/main/java/org/springframework/transaction/annotation/EnableTransactionManagement.java
  7. 4
      spring-tx/src/main/java/org/springframework/transaction/annotation/TransactionManagementConfigurer.java
  8. 4
      spring-web/src/main/java/org/springframework/web/method/annotation/RequestParamMethodArgumentResolver.java

4
spring-aspects/src/main/java/org/springframework/context/annotation/aspectj/SpringConfiguredConfiguration.java

@ -29,8 +29,8 @@ import org.springframework.context.annotation.Role; @@ -29,8 +29,8 @@ import org.springframework.context.annotation.Role;
* Configurable}.
*
* <p>This configuration class is automatically imported when using the
* @{@link EnableSpringConfigured} annotation. See {@code @EnableSpringConfigured}'s
* javadoc for complete usage details.
* {@link EnableSpringConfigured @EnableSpringConfigured} annotation. See
* {@code @EnableSpringConfigured}'s javadoc for complete usage details.
*
* @author Chris Beams
* @since 3.1

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

@ -1,5 +1,5 @@ @@ -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");
* you may not use this file except in compliance with the License.
@ -54,7 +54,7 @@ import java.lang.annotation.Target; @@ -54,7 +54,7 @@ import java.lang.annotation.Target;
public @interface Import {
/**
* @{@link Configuration}, {@link ImportSelector}, {@link ImportBeanDefinitionRegistrar}
* {@link Configuration}, {@link ImportSelector}, {@link ImportBeanDefinitionRegistrar}
* or regular component classes to import.
*/
Class<?>[] value();

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

@ -64,7 +64,7 @@ import org.springframework.util.StringValueResolver; @@ -64,7 +64,7 @@ import org.springframework.util.StringValueResolver;
*
* <p>This post-processor is automatically registered by Spring's
* {@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,
* 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 @@ @@ -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");
* you may not use this file except in compliance with the License.
@ -27,8 +27,8 @@ import org.springframework.scheduling.config.TaskManagementConfigUtils; @@ -27,8 +27,8 @@ import org.springframework.scheduling.config.TaskManagementConfigUtils;
* bean capable of processing Spring's @{@link Scheduled} annotation.
*
* <p>This configuration class is automatically imported when using the
* @{@link EnableScheduling} annotation. See {@code @EnableScheduling}'s javadoc
* for complete usage details.
* {@link EnableScheduling @EnableScheduling} annotation. See
* {@code @EnableScheduling}'s javadoc for complete usage details.
*
* @author Chris Beams
* @since 3.1

2
spring-context/src/main/java/org/springframework/scripting/groovy/GroovyScriptFactory.java

@ -40,7 +40,7 @@ import org.springframework.util.ClassUtils; @@ -40,7 +40,7 @@ import org.springframework.util.ClassUtils;
*
* <p>Typically used in combination with a
* {@link org.springframework.scripting.support.ScriptFactoryPostProcessor};
* see the latter's javadoc} for a configuration example.
* see the latter's javadoc for a configuration example.
*
* <p>Note: Spring 4.0 supports Groovy 1.8 and higher.
*

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

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

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

@ -1,5 +1,5 @@ @@ -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");
* you may not use this file except in compliance with the License.
@ -32,7 +32,7 @@ import org.springframework.transaction.PlatformTransactionManager; @@ -32,7 +32,7 @@ import org.springframework.transaction.PlatformTransactionManager;
* <p>Note that in by-type lookup disambiguation cases, an alternative approach to
* implementing this interface is to simply mark one of the offending
* {@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
* of the {@code PlatformTransactionManager} bean.
*

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

@ -54,8 +54,8 @@ import org.springframework.web.util.WebUtils; @@ -54,8 +54,8 @@ import org.springframework.web.util.WebUtils;
* 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
* resolution mode in which simple types (int, long, etc.) not annotated with
* @{@link RequestParam} are also treated as request parameters with the
* parameter name derived from the argument name.
* {@link RequestParam @RequestParam} are also treated as request parameters with
* the parameter name derived from the argument name.
*
* <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

Loading…
Cancel
Save