Browse Source

Fix typo SqlGenerator.java

Original pull request #1987

Signed-off-by: luckygc <chenwwecm@gmail.com>

Commit message edited.
pull/2008/head
luckygc 10 months ago committed by Jens Schauder
parent
commit
9b9a60c6d8
No known key found for this signature in database
GPG Key ID: 74F6C554AE971567
  1. 6
      spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/SqlGenerator.java

6
spring-data-jdbc/src/main/java/org/springframework/data/jdbc/core/convert/SqlGenerator.java

@ -69,7 +69,7 @@ class SqlGenerator { @@ -69,7 +69,7 @@ class SqlGenerator {
/**
* Length of an aggregate path that is one longer then the root path.
*/
private static final int FIRST_NON_ROOT_LENTH = 2;
private static final int FIRST_NON_ROOT_LENGTH = 2;
private final RelationalPersistentEntity<?> entity;
private final RelationalMappingContext mappingContext;
@ -131,7 +131,7 @@ class SqlGenerator { @@ -131,7 +131,7 @@ class SqlGenerator {
* @return If the given path is considered deeply nested.
*/
private static boolean isFirstNonRoot(AggregatePath path) {
return path.getLength() == FIRST_NON_ROOT_LENTH;
return path.getLength() == FIRST_NON_ROOT_LENGTH;
}
/**
@ -148,7 +148,7 @@ class SqlGenerator { @@ -148,7 +148,7 @@ class SqlGenerator {
* @return If the given path is considered deeply nested.
*/
private static boolean isDeeplyNested(AggregatePath path) {
return path.getLength() > FIRST_NON_ROOT_LENTH;
return path.getLength() > FIRST_NON_ROOT_LENGTH;
}
/**

Loading…
Cancel
Save