Merge branch '2.0.x'
This commit is contained in:
commit
960817a8c6
|
@ -31,7 +31,7 @@ import org.springframework.cache.ehcache.EhCacheCacheManager;
|
|||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
/**
|
||||
* Tests for {@link CacheAutoConfigurationTests} with EhCache 2.
|
||||
* Tests for {@link CacheAutoConfiguration} with EhCache 2.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Andy Wilkinson
|
||||
|
|
|
@ -30,7 +30,7 @@ import org.springframework.core.io.Resource;
|
|||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
/**
|
||||
* Tests for {@link CacheAutoConfigurationTests} with EhCache 3.
|
||||
* Tests for {@link CacheAutoConfiguration} with EhCache 3.
|
||||
*
|
||||
* @author Stephane Nicoll
|
||||
* @author Andy Wilkinson
|
||||
|
|
|
@ -465,7 +465,7 @@ feature, add the following dependency to your project:
|
|||
</dependency>
|
||||
----
|
||||
|
||||
WARNING: properties that are added late to the environment, such as when using
|
||||
WARNING: Properties that are added late to the environment, such as when using
|
||||
`@PropertySource`, will not be taken into account.
|
||||
|
||||
NOTE: Once you're done with the migration, please make sure to remove this module from
|
||||
|
|
|
@ -73,10 +73,10 @@ final class CollectionToDelimitedStringConverter implements ConditionalGenericCo
|
|||
}
|
||||
return source.stream()
|
||||
.map((element) -> convertElement(element, sourceType, targetType))
|
||||
.collect(Collectors.joining(getDelimter(sourceType)));
|
||||
.collect(Collectors.joining(getDelimiter(sourceType)));
|
||||
}
|
||||
|
||||
private CharSequence getDelimter(TypeDescriptor sourceType) {
|
||||
private CharSequence getDelimiter(TypeDescriptor sourceType) {
|
||||
Delimiter annotation = sourceType.getAnnotation(Delimiter.class);
|
||||
return (annotation != null) ? annotation.value() : ",";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue