Browse Source

Fix typos.

Signed-off-by: Kim Jongil <whddlf0504@naver.com>

Original pull request #3430

# Conflicts:
#	src/main/java/org/springframework/data/mapping/PropertyReferenceException.java
issue/3.5.x/3441
Jongil Kim 2 months ago committed by Jens Schauder
parent
commit
a297af9e91
No known key found for this signature in database
GPG Key ID: 2BE5D185CD2A1CE6
  1. 8
      src/main/java/org/springframework/data/mapping/PropertyReferenceException.java

8
src/main/java/org/springframework/data/mapping/PropertyReferenceException.java

@ -52,18 +52,18 @@ public class PropertyReferenceException extends RuntimeException { @@ -52,18 +52,18 @@ public class PropertyReferenceException extends RuntimeException {
*
* @param propertyName the name of the property not found on the given type, must not be {@literal null} or empty.
* @param type the type the property could not be found on, must not be {@literal null}.
* @param alreadyResolvedPah the previously calculated {@link PropertyPath}s, must not be {@literal null}.
* @param alreadyResolvedPath the previously calculated {@link PropertyPath}s, must not be {@literal null}.
*/
public PropertyReferenceException(String propertyName, TypeInformation<?> type,
List<PropertyPath> alreadyResolvedPah) {
List<PropertyPath> alreadyResolvedPath) {
Assert.hasText(propertyName, "Property name must not be null");
Assert.notNull(type, "Type must not be null");
Assert.notNull(alreadyResolvedPah, "Already resolved paths must not be null");
Assert.notNull(alreadyResolvedPath, "Already resolved paths must not be null");
this.propertyName = propertyName;
this.type = type;
this.alreadyResolvedPath = alreadyResolvedPah;
this.alreadyResolvedPath = alreadyResolvedPath;
this.propertyMatches = Lazy.of(() -> detectPotentialMatches(propertyName, type.getType()));
}

Loading…
Cancel
Save