Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,18 +53,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<? extends PropertyPath> alreadyResolvedPah) {
List<? extends 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()));
}

Expand Down