General polish of new 4.0 classes

Apply consistent styling to new classes introduced in Spring 4.0.

- Javadoc line wrapping, whitespace and formatting
- General code whitespace
- Consistent Assert.notNull messages
This commit is contained in:
Phillip Webb
2013-11-26 14:47:39 -08:00
parent 690051f46c
commit 15698860e1
190 changed files with 350 additions and 695 deletions

View File

@@ -29,9 +29,10 @@ import org.springframework.core.annotation.AnnotationUtils;
import org.springframework.util.Assert;
/**
* Complete implementation of the {@link org.springframework.beans.factory.support.AutowireCandidateResolver}
* strategy interface, providing support for qualifier annotations as well as for lazy resolution driven
* by the {@link Lazy} annotation in the {@code context.annotation} package.
* Complete implementation of the
* {@link org.springframework.beans.factory.support.AutowireCandidateResolver} strategy
* interface, providing support for qualifier annotations as well as for lazy resolution
* driven by the {@link Lazy} annotation in the {@code context.annotation} package.
*
* @author Juergen Hoeller
* @since 4.0

View File

@@ -25,7 +25,8 @@ import org.joda.time.format.DateTimeFormatter;
import org.springframework.format.Parser;
/**
* Parses Joda {@link org.joda.time.LocalDate} instances using a {@link org.joda.time.format.DateTimeFormatter}.
* Parses Joda {@link org.joda.time.LocalDate} instances using a
* {@link org.joda.time.format.DateTimeFormatter}.
*
* @author Juergen Hoeller
* @since 4.0

View File

@@ -25,7 +25,8 @@ import org.joda.time.format.DateTimeFormatter;
import org.springframework.format.Parser;
/**
* Parses Joda {@link org.joda.time.LocalDateTime} instances using a {@link org.joda.time.format.DateTimeFormatter}.
* Parses Joda {@link org.joda.time.LocalDateTime} instances using a
* {@link org.joda.time.format.DateTimeFormatter}.
*
* @author Juergen Hoeller
* @since 4.0

View File

@@ -25,7 +25,8 @@ import org.joda.time.format.DateTimeFormatter;
import org.springframework.format.Parser;
/**
* Parses Joda {@link org.joda.time.LocalTime} instances using a {@link org.joda.time.format.DateTimeFormatter}.
* Parses Joda {@link org.joda.time.LocalTime} instances using a
* {@link org.joda.time.format.DateTimeFormatter}.
*
* @author Juergen Hoeller
* @since 4.0

View File

@@ -36,8 +36,8 @@ import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.util.StringValueResolver;
/**
* Formats fields annotated with the {@link DateTimeFormat} annotation using
* the JSR-310 <code>java.time</code> package in JDK 8.
* Formats fields annotated with the {@link DateTimeFormat} annotation using the JSR-310
* <code>java.time</code> package in JDK 8.
*
* @author Juergen Hoeller
* @since 4.0

View File

@@ -33,8 +33,8 @@ import org.springframework.util.CollectionUtils;
import org.springframework.util.StringUtils;
/**
* {@code javax.script} (JSR-223) based implementation of
* Spring's {@link ScriptEvaluator} strategy interface.
* {@code javax.script} (JSR-223) based implementation of Spring's {@link ScriptEvaluator}
* strategy interface.
*
* @author Juergen Hoeller
* @author Costin Leau