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:
@@ -63,8 +63,8 @@ public class GenericTypeAwareAutowireCandidateResolver implements AutowireCandid
|
||||
}
|
||||
|
||||
/**
|
||||
* Match the given dependency type with its generic type information
|
||||
* against the given candidate bean definition.
|
||||
* Match the given dependency type with its generic type information against the given
|
||||
* candidate bean definition.
|
||||
*/
|
||||
protected boolean checkGenericTypeMatch(BeanDefinitionHolder bdHolder, DependencyDescriptor descriptor) {
|
||||
ResolvableType dependencyType = descriptor.getResolvableType();
|
||||
@@ -124,8 +124,8 @@ public class GenericTypeAwareAutowireCandidateResolver implements AutowireCandid
|
||||
|
||||
|
||||
/**
|
||||
* This implementation always returns {@code null},
|
||||
* leaving suggested value support up to subclasses.
|
||||
* This implementation always returns {@code null}, leaving suggested value support up
|
||||
* to subclasses.
|
||||
*/
|
||||
@Override
|
||||
public Object getSuggestedValue(DependencyDescriptor descriptor) {
|
||||
@@ -133,8 +133,8 @@ public class GenericTypeAwareAutowireCandidateResolver implements AutowireCandid
|
||||
}
|
||||
|
||||
/**
|
||||
* This implementation always returns {@code null},
|
||||
* leaving lazy resolution support up to subclasses.
|
||||
* This implementation always returns {@code null}, leaving lazy resolution support up
|
||||
* to subclasses.
|
||||
*/
|
||||
@Override
|
||||
public Object getLazyResolutionProxyIfNecessary(DependencyDescriptor descriptor, String beanName) {
|
||||
|
||||
@@ -20,9 +20,8 @@ import java.beans.PropertyEditorSupport;
|
||||
import java.time.ZoneId;
|
||||
|
||||
/**
|
||||
* Editor for {@code java.time.ZoneId}, translating zone ID Strings into
|
||||
* {@code ZoneId} objects. Exposes the {@code TimeZone} ID as a text
|
||||
* representation.
|
||||
* Editor for {@code java.time.ZoneId}, translating zone ID Strings into {@code ZoneId}
|
||||
* objects. Exposes the {@code TimeZone} ID as a text representation.
|
||||
*
|
||||
* @author Nicholas Williams
|
||||
* @since 4.0
|
||||
|
||||
Reference in New Issue
Block a user