DATACMNS-1097 - Polishing.
Updated Sonargraph architecture description. Polished imports in domain package to avoid unnecessary imports (mostly due to Javadoc references). Removed manually declared constructor in ExampleMatcherAccessor in favor of Lombok's @RequiredArgsConstructor. Removed deprecations in type information subsystem. Moved to different way of class loading to avoid null pointer warnings in ReflectionUtils.
This commit is contained in:
@@ -20,14 +20,12 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
import org.springframework.context.ApplicationEventPublisher;
|
||||
|
||||
/**
|
||||
* {@link DomainEvents} can be used on methods of aggregate roots managed by Spring Data repositories to publish the
|
||||
* events returned by that method as Spring application events.
|
||||
*
|
||||
* @author Oliver Gierke
|
||||
* @see ApplicationEventPublisher
|
||||
* @see org.springframework.context.ApplicationEventPublisher
|
||||
* @see AfterDomainEventPublication
|
||||
* @since 1.13
|
||||
* @soundtrack Benny Greb - Soulfood (Moving Parts Live)
|
||||
|
||||
@@ -17,8 +17,6 @@ package org.springframework.data.domain;
|
||||
|
||||
import java.util.function.Function;
|
||||
|
||||
import org.springframework.core.convert.converter.Converter;
|
||||
|
||||
/**
|
||||
* A page is a sublist of a list of objects. It allows gain information about the position of it in the containing
|
||||
* entire list.
|
||||
@@ -43,10 +41,10 @@ public interface Page<T> extends Slice<T> {
|
||||
long getTotalElements();
|
||||
|
||||
/**
|
||||
* Returns a new {@link Page} with the content of the current one mapped by the given {@link Converter}.
|
||||
* Returns a new {@link Page} with the content of the current one mapped by the given {@link Function}.
|
||||
*
|
||||
* @param converter must not be {@literal null}.
|
||||
* @return a new {@link Page} with the content of the current one mapped by the given {@link Converter}.
|
||||
* @return a new {@link Page} with the content of the current one mapped by the given {@link Function}.
|
||||
* @since 1.10
|
||||
*/
|
||||
<U> Page<U> map(Function<? super T, ? extends U> converter);
|
||||
|
||||
Reference in New Issue
Block a user