DATACMNS-1755 - Declare each variable in its own statement.

Update classes so that each member is declared on its own line. This
help to make them slightly easier to see when not using an IDE.

Original pull request: #448.
This commit is contained in:
Phillip Webb
2020-06-09 11:26:33 -07:00
committed by Mark Paluch
parent 67442077b7
commit 86bda64daa
9 changed files with 22 additions and 10 deletions

View File

@@ -285,7 +285,8 @@ public class AccessOptions {
private static final SetOptions DEFAULT = new SetOptions();
private final SetNulls nullHandling;
private final Propagation collectionPropagation, mapPropagation;
private final Propagation collectionPropagation;
private final Propagation mapPropagation;
private SetOptions() {

View File

@@ -623,7 +623,8 @@ public abstract class AbstractMappingContext<E extends MutablePersistentEntity<?
*/
static class PropertyMatch {
private final @Nullable String namePattern, typeName;
private final @Nullable String namePattern;
private final @Nullable String typeName;
/**
* Creates a new {@link PropertyMatch} for the given name pattern and type name. At least one of the parameters

View File

@@ -39,7 +39,9 @@ public class InvalidPersistentPropertyPath extends MappingException {
private static final long serialVersionUID = 2805815643641094488L;
private static final String DEFAULT_MESSAGE = "No property '%s' found on %s! Did you mean: %s?";
private final String source, unresolvableSegment, resolvedPath;
private final String source;
private final String unresolvableSegment;
private final String resolvedPath;
private final TypeInformation<?> type;
/**