DATACMNS-1592 - Use Lombok's With and move off deprecated Wither.

We now migrate off Lombok's `@Wither` in favor of `@With`.
This commit is contained in:
Mark Paluch
2019-11-26 13:55:23 +01:00
parent 3fb7ff1dd2
commit e9a0ed7123
7 changed files with 25 additions and 21 deletions

View File

@@ -19,7 +19,7 @@ import lombok.AccessLevel;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;
import lombok.ToString;
import lombok.experimental.Wither;
import lombok.With;
import java.util.Arrays;
import java.util.Collections;
@@ -32,6 +32,7 @@ import org.springframework.util.Assert;
* Default implementation of {@link ExampleMatcher}.
*
* @author Christoph Strobl
* @author Mark Paluch
* @since 2.0
*/
@ToString
@@ -44,7 +45,7 @@ class TypedExampleMatcher implements ExampleMatcher {
private final PropertySpecifiers propertySpecifiers;
private final Set<String> ignoredPaths;
private final boolean defaultIgnoreCase;
private final @Wither(AccessLevel.PACKAGE) MatchMode mode;
private final @With(AccessLevel.PACKAGE) MatchMode mode;
TypedExampleMatcher() {